#K67802. Count Vowels

    ID: 32723 Type: Default 1000ms 256MiB

Count Vowels

Count Vowels

You are given a string and your task is to count the number of vowels in it. Vowels are the letters \(a, e, i, o, u\) and they can appear in both lowercase and uppercase.

For example, in the string "hello world", there are 3 vowels: e, o, o.

Your solution should read input from the standard input (stdin) and output the result to the standard output (stdout).

inputFormat

A single line containing a string (s) which may consist of letters, digits, spaces, and special characters.

outputFormat

An integer representing the number of vowels in the string.## sample

hello world
3