#include<iostream> using namespace std; int main(){ char A; cin>>A; A=(A+2-'A')%26+'A'; cout<<A; return 0; }