#include <bits/stdc++.h>
using namespace std;
int main() {
char c;
cin >> c;
printf("%d", c);
return 0;
}