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