vowel_list = ['A', 'a', 'E', 'e', 'I', 'i', 'O', 'o', 'U', 'u'] while True: try: print('Vowel' if input() in vowel_list else 'Consonant') except EOFError: break
vowel_list = ['A', 'a', 'E', 'e', 'I', 'i', 'O', 'o', 'U', 'u'] while True: try: print('Vowel' if input() in vowel_list else 'Consonant') except EOFError: break