#include<iostream> using namespace std; int main(){ char text; cin >> text; cout << (int)text; return 0; }