#C7859. Count The Vowels

    ID: 51776 Type: Default 1000ms 256MiB

Count The Vowels

Count The Vowels

You are given a list of words. Your task is to count the total number of vowels in all the words. Vowels are defined as the characters a, e, i, o, u (both uppercase and lowercase). The output should be printed in the format:

\( \text{The total number of vowels: } X \) where \( X \) is the total vowel count.

For example, if the input word is apple, the expected output is The total number of vowels: 2.

inputFormat

The first line contains an integer ( n ) denoting the number of words. Each of the following ( n ) lines contains one word. A word can be an empty string.

outputFormat

Print a single line: The total number of vowels: X, where ( X ) is the total count of vowels in all the input words.## sample

1
apple
The total number of vowels: 2