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