#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
const int maxn = 100;
char str[maxn];
int t, ans[5];
int main() {
scanf("%d", &t);
gets(str);
while(t--) {
gets(str);
memset(ans, 0, sizeof(ans));
for(int i = 0; str[i]; i++) {
if(str[i] == 'a' || str[i] == 'A' || str[i] == 'h' || str[i] == 'H') {
ans[0]++;
}
if(str[i] == 'e' || str[i] == 'E') {
ans[1]++;
}
if(str[i] == 'i' || str[i] == 'I' || str[i] == 'y' || str[i] == 'Y') {
ans[2]++;
}
if(str[i] == 'o' || str[i] == 'O') {
ans[3]++;
}
if(str[i] == 'u' || str[i] == 'U') {
ans[4]++;
}
}
printf("a:%d\ne:%d\ni:%d\no:%d\nu:%d\n", ans[0], ans[1], ans[2], ans[3], ans[4]);
}
return 0;
}
#include
void f(int* a,char* s)
{
while(*s)
{
switch(*s)
{
case 'h':
case 'H':
case 'A':
case 'a': a[0]++;break;
case 'E':
case 'e': a[1]++;break;
case 'Y':
case 'y':
case 'I':
case 'i': a[2]++;break;
case 'O':
case 'o': a[3]++;break;
case 'U':
case 'u': a[4]++;break;
}
s++;
}
}
int main()
{
char s[200];
int a[5];
int n,i,j;
scanf("%d",&n);
getchar();
for(i=0;i
for(j=0;j<5;j++)
a[j]=0;
gets(s);
f(a,s);
printf("a:%d\ne:%d\ni:%d\no:%d\nu:%d\n",a[0],a[1],a[2],a[3],a[4]);
}
return 0;
}