atcoder#ABC286B. [ABC286B] Cat

[ABC286B] Cat

Score : 200200 points

Problem Statement

You are given a string SS of length NN.

Find the string obtained by replacing all contiguous occurrences of na in SS with nya.

Constraints

  • NN is an integer between 11 and 10001000, inclusive.
  • SS is a string of length NN consisting of lowercase English letters.

Input

The input is given from Standard Input in the following format:

NN

SS

Output

Print the answer.

4
naan
nyaan

Replacing all contiguous occurrences of na in naan with nya results in the string nyaan.

4
near
near

SS may not contain a contiguous na.

8
national
nyationyal