#include<iostream>
using namespace std;
int main()
{
    string s;
    getline(cin, s);
    int count = 0;
    for(char c:s)
    {
        c=tolower(c);
        if(c=='a'||c=='e'||c=='i'||c=='o'||c=='u'||
        c=='A'||c=='E'||c=='I'||c=='O'||c=='U'||)
        {
            count++;
        }
    }
    if(count == 0)
     cout<<"Invalid input";
    else
     cout<<count;
    return 0;
}