#include <iostream>
using namespace std;
int main()
{
int i,j;
i=0x7fffffff;
j=0xffffffff;
for(int k=31;k--;i>>=1,j>>=1)
cout << hex << i << "\t" << j << endl;
cout << (j>>4) << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkKewogICAgaW50IGksajsKICAgIGk9MHg3ZmZmZmZmZjsKICAgIGo9MHhmZmZmZmZmZjsKICAgIGZvcihpbnQgaz0zMTtrLS07aT4+PTEsaj4+PTEpCiAgICAgICAgY291dCA8PCBoZXggPDwgaSA8PCAiXHQiIDw8IGogPDwgZW5kbDsKICAgIGNvdXQgPDwgKGo+PjQpIDw8IGVuZGw7CiAgICByZXR1cm4gMDsKfQo=