問題一覧 > 通常問題

No.993 Blue

レベル : / AI推定難易度 : 96 / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 579
作問者 : ganmodokix / テスター : monkukui2
お気に入りにしたユーザー ProblemId : 3549 / 自分の提出
問題文最終更新日: 2020-02-11 21:16:12
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence. Back to the original
yukicoder contest 238 (順位表) の他の問題:

Problem Statement

ganmodokix's color on the contest site "*h2etkṓdr̥" is currently blue. Since ganmodokix wants to become yellow, he wants to rewrite every "ao" into "ki".

You are given a string $S$. If "ao" appears as a contiguous substring of $S$, rewrite all such occurrences into "ki" and print the result.

Input

$S$

The input satisfies the following constraints.

  • $S$ consists only of lowercase English letters.
  • $|S| = 7$

Output

Print the string after rewriting, followed by a newline.

Sample

Sample 1
Input
aoaoaoi
Output
kikikii

Each "ao" is changed into "ki".

Sample 2
Input
alohaoe
Output
alohkie

Rewrite the contiguous "ao".

Sample 3
Input
aokisan
Output
kikisan

提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。