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