All tasks
Easystringsloops

Count Vowels

Time limit 2 s · Memory 64 MB

Statement

You are given one line of Latin letters and spaces. Print how many vowels it contains. Vowels are a, e, i, o, u in either case.

Constraints

String length is between 1 and 10^5

Examples

Input 1
hello world
Output 1
3
Input 2
xyz
Output 2
0
Solve this task to unlock the editorial.

AI tutor

Stuck? Get a nudge — the tutor explains the idea, it never hands you the solution.