#include<iostream> using namespace std; int main(){ char c; scanf("%c",&c); cout << (int)c << endl; return 0; }