Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 783 Bytes

EnglishVowels.md

File metadata and controls

28 lines (18 loc) · 783 Bytes

English Alphabets (100 Marks)

In English, there are two types of characters, vowels and consonants. Romi is a student in school and is new to computers. He knows about vowels and consonants but does not know how to write code to get the correct output. He needs your help to learn to code and print the number of vowels, consonants and the product of them. Help Romi understand the code.

Input Format

The first line of input consist of number of test cases, T.

Next T lines consist of strings.

Constraints

1<= T <=10

1<= |S| <=1000

Output Format

For each string print the number of vowels, number of consonants and the product of them space separately.

###Sample TestCase 1

Input

2
abcdefgh
zxcvbnm

Output

2 6 12
0 7 0