Codeforces Round 497 (Div. 2)
A
Romaji
Codeforces
900
原题
←B →
翻译中…

Vitya has just started learning Berlanese language. It is known that Berlanese uses the Latin alphabet. Vowel letters are "a", "o", "u", "i", and "e". Other letters are consonant.

翻译中…

In Berlanese, there has to be a vowel after every consonant, but there can be any letter after any vowel. The only exception is a consonant "n"; after this letter, there can be any letter (not only a vowel) or there can be no letter at all. For example, the words "harakiri", "yupie", "man", and "nbo" are Berlanese while the words "horse", "king", "my", and "nz" are not.

翻译中…

Help Vitya find out if a word $s$ is Berlanese.

翻译中…

Input

翻译中…

The first line of the input contains the string $s$ consisting of $|s|$ ($1\leq |s|\leq 100$) lowercase Latin letters.

翻译中…

Output

翻译中…

Print "YES" (without quotes) if there is a vowel after every consonant except "n", otherwise print "NO".

翻译中…

You can print each letter in any case (upper or lower).

翻译中…

Note

翻译中…

In the first and second samples, a vowel goes after each consonant except "n", so the word is Berlanese.

翻译中…

In the third sample, the consonant "c" goes after the consonant "r", and the consonant "s" stands on the end, so the word is not Berlanese.

翻译中…

样例

Input #1
sumimasen
Output #1
YES
InputCopy OutputCopy
Input #2
ninja
Output #2
YES
InputCopy OutputCopy
Input #3
codeforces
Output #3
NO
InputCopy OutputCopy
题目信息
题号
1008A
时间限制
2 s
内存限制
256 MB
标签
模拟
字符串

题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。