#include <iostream>
using namespace std;
int main()
{
char c;
cout << "Enter a character: ";
cin >> c;
cout << (int)c;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKQp7CiBjaGFyIGM7CiBjb3V0IDw8ICJFbnRlciBhIGNoYXJhY3RlcjogIjsKIGNpbiA+PiBjOwogY291dCA8PCAgKGludCljOwogcmV0dXJuIDA7Cn0=