s = input("Enter a word: ") v = {'a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U'} c = sum( 1 for ch in s if ch in v) print("Number of Vowels: ", c)