c=eval(input())

print(('vowel' if c in 'aiueo' else 'consonant'))
c=eval(input())

print((["consonant","vowel"][c in "aiueo"]))
c = eval(input())
print(("vowel" if c in "aiueo" else "consonant"))

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

-print(("vowel" if c in "aiueo" else "consonant")) +print((["consonant", "vowel"][c in "aiueo"]))