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