Pronounceable Passwords

Time limit1sMemory limit128 MB

Problem

Making a good password is hard. Most users want a password that is easy to pronounce and remember, like buddy, but such passwords are insecure. Some sites instead hand out random passwords like xvtpzyo, yet users struggle to memorize them and often end up writing them on a sticky note attached to their monitor. The ideal solution is to create a "pronounceable" password: easy enough to remember while still keeping the account secure.

A company plans to build such a password generator. As an employee of its quality-control department, you must evaluate the quality of the passwords it produces. A high-quality (pronounceable) password satisfies all of the following conditions:

  1. It must contain at least one vowel (a, e, i, o, u).
  2. It must not contain three consecutive vowels or three consecutive consonants.
  3. It must not contain the same letter twice in a row, except that ee and oo are allowed.

These rules are not perfect; many words that are familiar or easy to pronounce are still rated as low quality.

Input

The input consists of several test cases. Each line contains one password to evaluate. A password is a string of lowercase letters whose length is between 1 and 20 (it never contains uppercase letters).

The last line of the input is end, which is only a marker for the end of input; it is neither evaluated nor printed.

Output

For each password, print one line. If it satisfies all three conditions, print <password> is acceptable.; otherwise print <password> is not acceptable.. Here <password> means the given password wrapped in the angle brackets < and >.