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