Hide

Problem J
Count the Vowels

Given a line of text, count the vowels! For this problem, the only vowels are A, E, I, O and U, both upper and lower case. No other letters will be considered vowels for the purposes of this problem.

Input

The single line of input contains a single string $s$ ($1 \le |s| \le 80$), which consists of ASCII text, with no special characters. There will be only letters, numbers, printable symbols, and spaces. There will be no control characters, and the only white space will be the space character. The string $s$ is guaranteed to have at least one non-whitespace character

Output

Output a single line with a single integer, which is the number of vowels in $s$.

Sample Input 1 Sample Output 1
This is a test.
4
Sample Input 2 Sample Output 2
How many vowels in sky?
5
Sample Input 3 Sample Output 3
Can you handle both CAPITAL and lower case?
14
Sample Input 4 Sample Output 4
D. J. Pike flung Q. V. Schwartz my box.
5

Please log in to submit a solution to this problem

Log in