All problems

Count Vowels

easyPythonStrings

A reading app estimates how hard a word is to say out loud, and its rough rule of thumb starts by counting the vowels in the word. For this tool a vowel means one of the five letters a, e, i, o, uy does not count, however it is pronounced.

Task: Read one word and print how many of its letters are vowels.

Input

A single line holding a string s of 1 to 100 characters. All characters are lowercase letters, with no spaces.

Output

One line holding a single integer: the number of vowels in the word. Print 0 if there are none.

Example:

Input:
education

Output:
5

Sign in to solve this problem

Reading problems is free for everyone — solving them (Run, Submit, and tracking what you've solved) needs an account.

Sign in

Discussion

Sign in to join the discussion — reading is open to everyone.

Loading comments…