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