시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 (추가 시간 없음) 1024 MB46134231675.962%

문제

We define a word as easy-to-pronounce if every vowel in the word is immediately followed by a consonant and every consonant in the word is immediately followed by a vowel. The first letter of the word can be a vowel or consonant. Assume that the vowels are: a, e, i, o, u (note that the letter y is not a vowel, i.e., it is a consonant).

Given a word, print 1 (one) if it is easy-to-pronounce, 0 (zero) otherwise.

입력

There is only one input line; it contains a word consisting of 1-30 lowercase letters (starting in column 1). Assume that there will not be any characters other than the lowercase letters in the input.

출력

Print the appropriate message as described above.

예제 입력 1

contest

예제 출력 1

0

예제 입력 2

coaches

예제 출력 2

0

예제 입력 3

cocahes

예제 출력 3

1

예제 입력 4

ali

예제 출력 4

1