#C12209. Count Vowels and Consonants

    ID: 41611 Type: Default 1000ms 256MiB

Count Vowels and Consonants

Count Vowels and Consonants

Given a string s consisting of alphabetic characters and spaces, your task is to compute the number of vowels and the number of consonants in the string.

The vowels are defined as: \(\{a, e, i, o, u, A, E, I, O, U\}\). Every alphabetic character that is not a vowel is considered a consonant. If the string contains any non-alphabetic characters (except spaces), they should be ignored.

For example, for the input "Hello World", the expected output is 3 7 since there are 3 vowels and 7 consonants.

inputFormat

The input is a single line containing the string \(s\). The string may include spaces and uppercase or lowercase letters.

outputFormat

Output two integers separated by a space: the first integer denotes the number of vowels and the second integer denotes the number of consonants in the input string.

## sample
Hello World
3 7