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