#include using namespace std; int main(){ string s; cin >> s; if(s=="B") cout << "C" << endl; else if(s=="E") cout << "F" << endl; else cout << s + "#" << endl; }