#include <iostream>
#include <cstdlib>
using namespace std;
int main() {
char* pt = (char*) malloc( sizeof(int));
cin >> pt;
cout << *pt;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0ZGxpYj4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkgewoJY2hhciogcHQgPSAoY2hhciopIG1hbGxvYyggc2l6ZW9mKGludCkpOwoJY2luID4+IHB0OwoJY291dCA8PCAqcHQ7CglyZXR1cm4gMDsKfQ==