#include <iostream>
#include <string>
using namespace std;
 
int main() {
	int counter=0;
	string text; //инициализируем строку
	getline (cin,text); //извлекает строки из входного потока
	string vowel="AEOUIY"; //
	size_t found=text.find_first_of(vowel); //Поиск по строке text для первого символа, который соответствует любому элементу строки vowel
	while (found!=-1) 
	{
		counter++;
		found=text.find_first_of(vowel,found+1);
	}
	cout << counter << endl;
	return 0;
}