#C13670. Count Vowels and Consonants

    ID: 43234 Type: Default 1000ms 256MiB

Count Vowels and Consonants

Count Vowels and Consonants

Given a string S, count the number of vowels and consonants it contains. For this problem, vowels are defined as \(\{a, e, i, o, u\}\) (case-insensitive) and only alphabetical characters should be considered; all non-alphabetical characters are ignored. Your task is to read an input string from stdin and output two numbers separated by a space: the first number being the count of vowels and the second the count of consonants.

Note: The input string may include spaces and special characters. The output should be printed to stdout.

inputFormat

The input consists of a single line containing the string S which may include alphabets, digits, spaces, or other symbols. The length of S is at most 1000 characters.

outputFormat

Output two space-separated integers: the number of vowels and the number of consonants in the given string.

## sample
Hello World!
3 7