|시간 제한||메모리 제한||제출||정답||맞은 사람||정답 비율|
|1 초||256 MB||1||1||1||100.000%|
Gru has been trying to teach the minions English (they are born knowing only Minionese, which Lucy can’t stand). He is currently stuck trying to teach them the difference between vowels and consonants, which the minions are always confused about, especially “y”, which they argue about endlessly (it is not a vowel). To help them practice, Gru starts a contest where the minions have to count the number of vowels in a word, i.e., given a word, they have to tell Gru what is the number of vowels in it. The winner gets ice cream, which the minions are crazy about. Kevin the Minion wants your help to cheat and eat a lot of ice cream.
The first line in the test data file contains the number of test cases (< 100). After that, each line contains one test case, a word, w, (provided as a String). You can assume that the words are provided in all lowercase letters (i.e., “gru”, not “Gru”).
For each test case, you are to output the number of vowels in that word. The vowels are: “a”, “e”, “i”, “o”, and “u”. The exact format is shown below in the examples.
3 despicable gru nth
The number of vowels in despicable is 4. The number of vowels in gru is 1. The number of vowels in nth is 0.