#include<bits/stdc++.h> using namespace std; int main(){ char zimu; cin>>zimu; cout<<int(zimu); return 0; }