#include<iostream> #include<cstdio> using namespace std; int main() { char a; cin>>a; if(a<'Y') { a=a+2; } else { a=a-24; } cout<<a; return 0; }