#include<iostream>
#include<cstring>
using namespace std;
int main()
{
char str[101];
int n,i,r;
while(std::cin>>n)
{
while(n--)
{
int x=0,y=0,z=0,h=0,m=0;
r=0;
cin>>str;
r=strlen(str);
for(i=0;i<r;i++)
{
if(str[i]=='a')
x++;
if(str[i]=='e')
y++;
if(str[i]=='i')
z++;
if(str[i]=='o')
h++;
if(str[i]=='u')
m++;
}
if(n>0)
cout<<"a:"<<x<<endl<<"e:"<<y<<endl<<"i:"<<z<<endl<<"o:"<<h<<endl<<"u:"<<m<<endl<<endl;
if(n==0)
cout<<"a:"<<x<<endl<<"e:"<<y<<endl<<"i:"<<z<<endl<<"o:"<<h<<endl<<"u:"<<m<<endl;
}
}
return 0;
}
#include<cstring>
using namespace std;
int main()
{
char str[101];
int n,i,r;
while(std::cin>>n)
{
while(n--)
{
int x=0,y=0,z=0,h=0,m=0;
r=0;
cin>>str;
r=strlen(str);
for(i=0;i<r;i++)
{
if(str[i]=='a')
x++;
if(str[i]=='e')
y++;
if(str[i]=='i')
z++;
if(str[i]=='o')
h++;
if(str[i]=='u')
m++;
}
if(n>0)
cout<<"a:"<<x<<endl<<"e:"<<y<<endl<<"i:"<<z<<endl<<"o:"<<h<<endl<<"u:"<<m<<endl<<endl;
if(n==0)
cout<<"a:"<<x<<endl<<"e:"<<y<<endl<<"i:"<<z<<endl<<"o:"<<h<<endl<<"u:"<<m<<endl;
}
}
return 0;
}