#include using namespace std; int main() { char S; cin >> S; if (S=='B'||S=='E') { S+=1; cout << S << endl; } else { cout << S << "#" << endl; } }