#include<iostream>
#include<string>
#include<algorithm>
using namespace std;
int countVow(string s){
    int count = 0;
    for(char c:s){
        c = lower(c);
        if(c == 'a' || c == 'e' || c == 'i' || c == 'o'|| c == 'u'){
            count++;
        }
    }
    return count;
}
int main(){
    string line;
    if(getline(cin, line)){
        int vowels = countVow(line);
        if(vowels == 0){cout<<"Invalid input"<<endl;}
        else{ cout<<vowels<<endl;}
}
return 0;
}