#K50772. Count Vowels and Consonants
Count Vowels and Consonants
Count Vowels and Consonants
Given a string, your task is to count the number of vowels and consonants contained in it. Only alphabetic characters are considered. If a letter is one of the following: \( \{a, e, i, o, u, A, E, I, O, U\} \) it is considered a vowel, otherwise if it is an alphabet letter it is considered a consonant.
The input will be provided via standard input and the result should be printed to standard output.
inputFormat
The input consists of a single line string which may include letters, digits, punctuations, and spaces.
outputFormat
Output two integers separated by a space. The first integer is the count of vowels and the second integer is the count of consonants in the given string.
## sampleHello World!
3 7