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