import sys readline=sys.stdin.readline ans="" for s in readline().rstrip(): ans+=s if len(ans)>=2 and ans[-2:]=="ao": ans=ans[:-2]+"ki" print(ans)