#include #include #include using namespace std; int main(void) { ios::sync_with_stdio(false); cin.tie(nullptr); int N, i, cnt = 3; bool res = false; string S; cin >> N >> S; vector ans; ans.push_back("U"); ans.push_back("E"); ans.push_back("C"); for (i = 0; i < N; i++) { if (!res) { if (S[i] == 'c') { res = true; } } else { ans.push_back(string(1, S[i])); // 1文字をstring化 cnt += 1; } } for (i = 0; i < cnt; i++) { cout << ans[i]; } cout << endl; return 0; }