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