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