#include<bits/stdc++.h> using namespace std; int main() { char ch;cin>>ch; if(ch=='Z') { ch='B'; } else if(ch=='Y') { ch='A'; } else { ch=ch+2; } cout<<ch; return 0; }
#include<bits/stdc++.h> using namespace std; int main() { char a; cin>>a; if(a=='Y') { cout<<"A"; } else if(a=='Z') { cout<<"B"; } else { char c=a+2; cout<<c; } return 0; }
#include<bits/stdc++.h> using namespace std; int main() { char ch; cin>>ch; if(ch=='Z') { ch='B'; } else if(ch=='Y') { ch='A'; } else { ch=ch+2; } cout<<ch; return 0; }
Using your lizikid universal account