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