Count vowels
Read a line of text and print how many vowels (a, e, i, o, u, either case) it contains.
Reported in: Infosys (2021–23), Accenture, Cognizant GenC (memory-based)
Input
One line of text.
Output
The number of vowels.
Constraints
1 ≤ length ≤ 10^5.
Example 1
Input:
Osmania University
Output:
8Example 2
Input:
Rhythm
Output:
0Hint: Lower-case the text and check each character against "aeiou".