# li = sorted(list(map(int, input().split())))

# n, m = map(int, input().split())

c = input()

print("vowel") if c in "aeiou" else print("consonant")

print("vowel") if input() in "aeiou" else print("consonant")

# li = sorted(list(map(int, input().split())))
# n, m = map(int, input().split())
c = input()
print("vowel") if c in "aeiou" else print("consonant")

print("vowel") if input() in "aeiou" else print("consonant")

-# li = sorted(list(map(int, input().split()))) -# n, m = map(int, input().split()) -c = input() -print("vowel") if c in "aeiou" else print("consonant") +print("vowel") if input() in "aeiou" else print("consonant")