#include <iostream>
#include <netinet/in.h>
using namespace std;
int main() {
auto i = ntohs(0xb90a);
cout << i << endl;
i = ntohs(0x6400);
cout << i << endl;
i = ntohs(0000);
cout << i << endl;
i = (0x010);
cout << i << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bmV0aW5ldC9pbi5oPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkgewoJYXV0byBpID0gbnRvaHMoMHhiOTBhKTsKICAgIGNvdXQgPDwgaSA8PCBlbmRsOwogICAgCiAgICBpID0gbnRvaHMoMHg2NDAwKTsKICAgIGNvdXQgPDwgaSA8PCBlbmRsOwogICAgCiAgICBpID0gbnRvaHMoMDAwMCk7CiAgICBjb3V0IDw8IGkgPDwgZW5kbDsKICAgIAogICAgaSA9ICgweDAxMCk7CiAgICBjb3V0IDw8IGkgPDwgZW5kbDsKICAgIAoJcmV0dXJuIDA7Cn0=