#include <iostream>
#include <netinet/in.h>
using namespace std;
int main() {
auto i = ntohl(3013);
cout << i << endl;
i = ntohl(0x97000000);
cout << i << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bmV0aW5ldC9pbi5oPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkgewoJYXV0byBpID0gbnRvaGwoMzAxMyk7CiAgICBjb3V0IDw8IGkgPDwgZW5kbDsKICAgIAogICAgaSA9IG50b2hsKDB4OTcwMDAwMDApOwogICAgY291dCA8PCBpIDw8IGVuZGw7CgoJcmV0dXJuIDA7Cn0=