#include<iostream>
using namespace std;
int main(void)
{
int n;
char s[100];
cin >> n;
getchar();
for (int j = 0; j < n; j++)
{
if (j > 0) cout << endl;
int a[5] = { 0, 0, 0, 0, 0 };
gets(s);
for (int i = 0; i < strlen(s); i++)
{
if (s[i] == 'a') a[0]++;
else if (s[i] == 'e') a[1]++;
else if (s[i] == 'i') a[2]++;
else if (s[i] == 'o') a[3]++;
else if (s[i] == 'u') a[4]++;
}
cout << 'a' << ":" << a[0] << endl;
cout << 'e' << ":" << a[1] << endl;
cout << 'i' << ":" << a[2] << endl;
cout << 'o' << ":" << a[3] << endl;
cout << 'u' << ":" << a[4] << endl;
}
return 0;
}
using namespace std;
int main(void)
{
int n;
char s[100];
cin >> n;
getchar();
for (int j = 0; j < n; j++)
{
if (j > 0) cout << endl;
int a[5] = { 0, 0, 0, 0, 0 };
gets(s);
for (int i = 0; i < strlen(s); i++)
{
if (s[i] == 'a') a[0]++;
else if (s[i] == 'e') a[1]++;
else if (s[i] == 'i') a[2]++;
else if (s[i] == 'o') a[3]++;
else if (s[i] == 'u') a[4]++;
}
cout << 'a' << ":" << a[0] << endl;
cout << 'e' << ":" << a[1] << endl;
cout << 'i' << ":" << a[2] << endl;
cout << 'o' << ":" << a[3] << endl;
cout << 'u' << ":" << a[4] << endl;
}
return 0;
}