#include <iostream>
#include <cstring>
using namespace std;
int main ()
{
int counter=0;
char text[100];
char vowel[] = "AEOUIY";
char * pch;
cin.getline(text,100);
pch = strpbrk (text, vowel);
while (pch != NULL) // пока есть гласные буквы
{
pch = strpbrk (pch+1,vowel); // поиск гласных букв
counter++;
}
cout << counter;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0cmluZz4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluICgpCnsKCWludCBjb3VudGVyPTA7CgljaGFyIHRleHRbMTAwXTsKCWNoYXIgdm93ZWxbXSA9ICJBRU9VSVkiOwoJY2hhciAqIHBjaDsKCWNpbi5nZXRsaW5lKHRleHQsMTAwKTsKCXBjaCA9IHN0cnBicmsgKHRleHQsIHZvd2VsKTsKCXdoaWxlIChwY2ggIT0gTlVMTCkgLy8g0L/QvtC60LAg0LXRgdGC0Ywg0LPQu9Cw0YHQvdGL0LUg0LHRg9C60LLRiwoJewoJCXBjaCA9IHN0cnBicmsgKHBjaCsxLHZvd2VsKTsgLy8g0L/QvtC40YHQuiDQs9C70LDRgdC90YvRhSDQsdGD0LrQsgoJCWNvdW50ZXIrKzsKCX0KCWNvdXQgPDwgY291bnRlcjsKCXJldHVybiAwOwp9