#C4231. Count Vowels and Consonants
Count Vowels and Consonants
Count Vowels and Consonants
You are given a string s which may include letters, digits, spaces, and punctuation. Your task is to count the number of vowels and consonants in the string.
Note: Only alphabet characters are considered. The vowels are given by \( \text{aeiouAEIOU} \) and any other alphabet letter is considered a consonant.
For example, for the input string "The quick brown fox jumps over the lazy dog.", there are 11 vowels and 24 consonants.
inputFormat
The input consists of a single line containing the string \( s \). The string can be empty and may include spaces and punctuation.
outputFormat
Output the count of vowels and consonants in the following format:
Vowels: X, Consonants: Y
Where \( X \) is the number of vowels and \( Y \) is the number of consonants.
## sampleThe quick brown fox jumps over the lazy dog.
Vowels: 11, Consonants: 24