#C11325. Count Vowels and Consonants
Count Vowels and Consonants
Count Vowels and Consonants
You are given a string S consisting of only lowercase English letters. Your task is to determine the number of vowels and consonants in the string.
For this problem, the vowels are defined as \(a, e, i, o, u\). All other lowercase alphabetic characters are considered consonants.
Let \(V\) be the number of vowels and \(C\) the number of consonants in \(S\). You need to output a single line with two space-separated integers: the first is \(V\) and the second is \(C\).
Example:
Input: hello Output: 2 3
inputFormat
The input consists of a single line containing the string S (\(1 \leq |S| \leq 10^5\)). The string contains only lowercase English alphabetic characters.
outputFormat
Output a single line with two space-separated integers: the first integer is the number of vowels and the second integer is the number of consonants in the string.
## samplehello
2 3
</p>