print(('vowel'*(eval(input())in'aiueo')or'consonant'))
print((('consonant','vowel')[eval(input())in'aiueo']))
print(("vowel" * (eval(input()) in "aiueo") or "consonant"))

print((("consonant", "vowel")[eval(input()) in "aiueo"]))

-print(("vowel" * (eval(input()) in "aiueo") or "consonant")) +print((("consonant", "vowel")[eval(input()) in "aiueo"]))