A word is considered pronounceable if it consists of letters alternating between vowels and consonants. Given a word, determine whether it is pronounceable.
The letters aeiou
are vowels, while the rest are consonants.
Constraints
For all test cases:
- The word length will not exceed characters.
Note: You must pass all test cases in order to earn points on this problem.
Input Specification
The first and only line contains a single word containing only lowercase letters.
Output Specification
Output YES
if the word is pronounceable. Otherwise, output NO
.
Sample Input 1
bananas
Sample Output 1
YES
Sample Input 2
cheerio
Sample Output 2
NO
Comments