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