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