#include <iostream>
#include <netinet/in.h>
using namespace std;
int main() {
auto i = ntohl(0x9b000000);
cout << i << endl;
i = ntohl(16777216);
cout << i << endl;
i = ntohl(0x95000000);
cout << i << endl;
i = ntohl(0x93000000);
cout << i << endl;
i = ntohl(0x8d000000);
cout << i << endl;
i = ntohl(0x67000000);
cout << i << endl;
i = ntohl(0x41000007);
cout << i << endl;
i = ntohl(0x0000005f);
cout << i << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bmV0aW5ldC9pbi5oPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkgewoJYXV0byBpID0gbnRvaGwoMHg5YjAwMDAwMCk7CiAgICBjb3V0IDw8IGkgPDwgZW5kbDsKICAgIAogICAgaSA9IG50b2hsKDE2Nzc3MjE2KTsKICAgIGNvdXQgPDwgaSA8PCBlbmRsOwogICAgCiAgICBpID0gbnRvaGwoMHg5NTAwMDAwMCk7CiAgICBjb3V0IDw8IGkgPDwgZW5kbDsKICAgIAogICAgaSA9IG50b2hsKDB4OTMwMDAwMDApOwogICAgY291dCA8PCBpIDw8IGVuZGw7CiAgICAKICAgIGkgPSBudG9obCgweDhkMDAwMDAwKTsKICAgIGNvdXQgPDwgaSA8PCBlbmRsOwogICAgCiAgICBpID0gbnRvaGwoMHg2NzAwMDAwMCk7CiAgICBjb3V0IDw8IGkgPDwgZW5kbDsKICAgIAogICAgaSA9IG50b2hsKDB4NDEwMDAwMDcpOwogICAgY291dCA8PCBpIDw8IGVuZGw7CiAgICAKICAgIGkgPSBudG9obCgweDAwMDAwMDVmKTsKICAgIGNvdXQgPDwgaSA8PCBlbmRsOwogICAgCglyZXR1cm4gMDsKfQ==