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