#include <iostream>
#include <bitset>
using namespace std;
int main() {
std::bitset<32> mybit(-3);
int mybit_int = (int)(mybit.to_ulong());
cout << mybit_int << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Yml0c2V0Pgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglzdGQ6OmJpdHNldDwzMj4gbXliaXQoLTMpOwoJaW50IG15Yml0X2ludCA9IChpbnQpKG15Yml0LnRvX3Vsb25nKCkpOwoJY291dCA8PCBteWJpdF9pbnQgPDwgZW5kbDsKCXJldHVybiAwOwp9