#include<bits/stdc++.h> using namespace std; int main(){ char x; cin >>x; char a=(x+2-'A')%26+'A'; cout <<a; return 0; }