{"problem":{"name":"Cat","description":{"content":"You are given a string $S$ of length $N$. Find the string obtained by replacing all contiguous occurrences of `na` in $S$ with `nya`.","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc286_b"},"statements":[{"statement_type":"Markdown","content":"You are given a string $S$ of length $N$.\nFind the string obtained by replacing all contiguous occurrences of `na` in $S$ with `nya`.\n\n## Constraints\n\n*   $N$ is an integer between $1$ and $1000$, inclusive.\n*   $S$ is a string of length $N$ consisting of lowercase English letters.\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$N$\n$S$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc286_b","tags":[],"sample_group":[["4\nnaan","nyaan\n\nReplacing all contiguous occurrences of `na` in `naan` with `nya` results in the string `nyaan`."],["4\nnear","near\n\n$S$ may not contain a contiguous `na`."],["8\nnational","nyationyal"]],"created_at":"2026-03-03 11:01:14"}}