#include #include using namespace std; string replace_all(string s, string from, string to) { int start_pos = 0; while ((start_pos = s.find(from, start_pos)) != string::npos) { s.replace(start_pos, from.length(), to); start_pos += to.length(); } return s; } int main() { string s; cin >> s; string replaced = replace_all(s, "ao", "ki"); cout << replaced << endl; return 0; }