#include <iostream>
using namespace std;
int
main ()
{
cout << 31 << ", ";
cout.setf (ios::hex); //LINE I
cout << 31 << ", ";
cout.setf (ios::showbase, ios::basefield);; // LINE II
cout << 63 << ", ";
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludAptYWluICgpCnsKCiAgY291dCA8PCAzMSA8PCAiLCAiOwoKICBjb3V0LnNldGYgKGlvczo6aGV4KTsgICAgICAgICAvL0xJTkUgSQoKICBjb3V0IDw8IDMxIDw8ICIsICI7CgogIGNvdXQuc2V0ZiAoaW9zOjpzaG93YmFzZSwgaW9zOjpiYXNlZmllbGQpOzsgICAgLy8gTElORSBJSQoKICBjb3V0IDw8IDYzIDw8ICIsICI7CgogIHJldHVybiAwOwoKfQo=