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