#include using namespace std; using ll = long long; #define rep(i,m,n) for(int i=m; i> S; if(S == 'E' || S == 'B') cout << char(S + 1) << endl; else cout << S << '#' << endl; return 0; }