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