#include <iostream>
#include <stdlib.h>
using namespace std;
int rnd() {
return (1 << 16) - 1;
}
int main() {
cout << ( (rnd() << 16) ^ rnd() ) << endl;
cout << ( ((unsigned)rnd() << 16) ^ rnd() ) << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RkbGliLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgcm5kKCkgewoJcmV0dXJuICgxIDw8IDE2KSAtIDE7Cn0KCmludCBtYWluKCkgewoJY291dCA8PCAoIChybmQoKSA8PCAxNikgXiBybmQoKSApIDw8IGVuZGw7Cgljb3V0IDw8ICggKCh1bnNpZ25lZClybmQoKSA8PCAxNikgXiBybmQoKSApIDw8IGVuZGw7CglyZXR1cm4gMDsKfQ==