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