#C9554. Count Vowels
Count Vowels
Count Vowels
You are given a string S. Your task is to count the number of vowels in the string. The vowels are defined as \(\{a, e, i, o, u, A, E, I, O, U\}\). You need to read the input string from standard input and output the number of vowels found in that string.
For example, if the input string is "HelloWorld", the vowels present are 'e', 'o', 'o' so the output will be 3.
Make sure that your solution reads from stdin
and writes the result to stdout
.
inputFormat
The input consists of a single line containing the string S (which may be empty). The string may include both uppercase and lowercase letters.
outputFormat
Output a single integer representing the number of vowels in the string S.
## sampleHelloWorld
3