#C7146. Count the Vowels
Count the Vowels
Count the Vowels
You are given a string and your task is to count the number of vowels present in it. Vowels in the English alphabet are a, e, i, o, u and can appear in both lowercase and uppercase. You should read the input from standard input and output the result to standard output.
Formally, let \( S \) be the input string. Define the set of vowels as \( V = \{a, e, i, o, u, A, E, I, O, U\} \). Your task is to compute:
[ \text{result} = \sum_{c \in S} [c \in V] ]
where ([c \in V]) is 1 if (c) is a vowel and 0 otherwise.
inputFormat
The input consists of a single line, which is a non-empty string \( S \), that may contain letters, punctuation, and spaces.
Note: The input should be read from standard input (stdin).
outputFormat
Output a single integer which is the count of vowels present in the string.
Note: The output should be printed to standard output (stdout).
## sampleHello, World!
3