S = input().strip() result = [] i = 0 n = len(S) while i < n: if i + 1 < n and S[i] == 'a' and S[i+1] == 'o': result.append('ki') i += 2 else: result.append(S[i]) i += 1 print(''.join(result))