#include<bits/stdc++.h> using namespace std; int main(){ char a; cin>>a; if(int(a)<89) { cout<<char(a+2); } else{ cout<<char(a-24); } return 0; }