#include <iostream>
#include <cstring>
using namespace std;
int main(){
char txt[50];
cin.get(txt,50);
char *p;
p = strtok(txt, " ");
while(p){
int nr=0;
for(int i=0;i<strlen(p);i++){
if(strchr("aeiouAEIOU",p[i]))nr++;
}
cout << nr << " ";
p = strtok(NULL, " ");
}
}