#include<iostream> using namespace std; int main() { char c1; int n=2; cin>>c1; char d=((c1-65)+n)%26+65; cout<<d<<endl; return 0; }