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