#K72897. Count Vowels and Consonants

    ID: 33855 Type: Default 1000ms 256MiB

Count Vowels and Consonants

Count Vowels and Consonants

Problem Statement:

Given a string (S) consisting of lowercase English letters, your task is to count the number of vowels and consonants in the string. The vowels are defined as ({a, e, i, o, u}), and all other letters are considered consonants. Print the count of vowels and consonants separated by a single space.

Example:
If the input string is "hello", the output should be "2 3", where 2 is the number of vowels and 3 is the number of consonants.

inputFormat

The input consists of a single line containing the string (S) (only lowercase alphabets).

outputFormat

Output the count of vowels and consonants separated by a single space on a single line.## sample

hello
2 3