시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 256 MB 5 5 5 100.000%

문제

Given a sentence in English, output the counts of consonants and vowels.

Vowels are letters in [’A’,’E’,’I’,’O’,’U’,’a’,’e’,’i’,’o’,’u’].

입력

The test file starts with an integer S(1 ≤ S ≤ 100), the number of sentences.

Then follow S lines, each containing a sentence - words of length 1 to 20 separated by spaces. Every sentence will contain at least one word and be comprised only of characters [a-z][A-Z] and spaces. No sentence will be longer than 1000 characters.

출력

For each sentence, output the number of consonants and vowels on a line, separated by space.

예제 입력

3
You can win this thing
May be too optimistic
Just try to have fun

예제 출력

12 6
10 8
11 5

힌트