#include #include #include using namespace std; string s; string ts; string t; string r; bool first=0; int nagasa; int main() { cin >> s; s += 'a'; nagasa = s.size(); for (int i = 0; i < nagasa; i++) { if (s[i] == 'm') { if (s[i + 1] == 'u') { ts += 'o'; } else { ts += 'z'; } } } nagasa = ts.size(); for (int i = 0; i = nagasa) { r += "umah"; break; } } } } nagasa = r.size(); for (int i = nagasa-1; i >=0; i--) { t += r[i]; } cout << t<<"\n" << endl; return 0; }