#C5531. Count Vowels in a String
Count Vowels in a String
Count Vowels in a String
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\}\) and the count is case-insensitive. That is, both uppercase and lowercase vowels should be counted.
You can compute the count using the formula:
[ \text{count} = \sum_{c \in S} [c \in {a, e, i, o, u}] ]
Read the input from standard input (stdin) and write the output to standard output (stdout).
inputFormat
The input consists of a single line containing the string S. The string may include spaces, punctuation, and other characters.
outputFormat
Output a single integer representing the number of vowels in the input string.
## sampleHello World
3