#include <iostream>
#include <netinet/in.h>
using namespace std;
int main() {
auto i = ntohl(8);
cout << i << endl;
i = ntohl(0x97000000);
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;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bmV0aW5ldC9pbi5oPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkgewoJYXV0byBpID0gbnRvaGwoOCk7CiAgICBjb3V0IDw8IGkgPDwgZW5kbDsKICAgIAogICAgaSA9IG50b2hsKDB4OTcwMDAwMDApOwogICAgY291dCA8PCBpIDw8IGVuZGw7CiAgICAKICAgIGkgPSBudG9obCgweDk1MDAwMDAwKTsKICAgIGNvdXQgPDwgaSA8PCBlbmRsOwogICAgCiAgICBpID0gbnRvaGwoMHg5MzAwMDAwMCk7CiAgICBjb3V0IDw8IGkgPDwgZW5kbDsKICAgIAogICAgaSA9IG50b2hsKDB4OGQwMDAwMDApOwogICAgY291dCA8PCBpIDw8IGVuZGw7CiAgICAKICAgIGkgPSBudG9obCgweDY3MDAwMDAwKTsKICAgIGNvdXQgPDwgaSA8PCBlbmRsOwogICAgCiAgICBpID0gbnRvaGwoMHg0MTAwMDAwNyk7CiAgICBjb3V0IDw8IGkgPDwgZW5kbDsKICAgIAogICAgaSA9IG50b2hsKDB4MDAwMDAwNWYpOwogICAgY291dCA8PCBpIDw8IGVuZGw7CiAgICAKCXJldHVybiAwOwp9