#include <iostream>
#include <algorithm>
#include <sstream>
#include <iterator>
using namespace std;
int main() {
string str;
getline(cin, str);
cout << *max_element(istream_iterator<string>(*(new stringstream(str))), istream_iterator<string>(),
[](const string &lh, const string &rh) {
auto vowels_count = [] (const string &str) {
return count_if(str.begin(), str.end(),
[](const string::value_type &c) {
const string vowels = "aeiouy";
return find(vowels.begin(), vowels.end(), c) != vowels.end();
}
);
};
return vowels_count(lh) < vowels_count(rh);
}
) << endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8YWxnb3JpdGhtPgojaW5jbHVkZSA8c3N0cmVhbT4KI2luY2x1ZGUgPGl0ZXJhdG9yPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkgewoKCXN0cmluZyBzdHI7CglnZXRsaW5lKGNpbiwgc3RyKTsKCgljb3V0IDw8ICptYXhfZWxlbWVudChpc3RyZWFtX2l0ZXJhdG9yPHN0cmluZz4oKihuZXcgc3RyaW5nc3RyZWFtKHN0cikpKSwgaXN0cmVhbV9pdGVyYXRvcjxzdHJpbmc+KCksCgkJCVtdKGNvbnN0IHN0cmluZyAmbGgsIGNvbnN0IHN0cmluZyAmcmgpIHsKCQkJCWF1dG8gdm93ZWxzX2NvdW50ID0gW10gKGNvbnN0IHN0cmluZyAmc3RyKSB7CgkJCQkJcmV0dXJuIGNvdW50X2lmKHN0ci5iZWdpbigpLCBzdHIuZW5kKCksCgkJCQkJCVtdKGNvbnN0IHN0cmluZzo6dmFsdWVfdHlwZSAmYykgewoJCQkJCQkJY29uc3Qgc3RyaW5nIHZvd2VscyA9ICJhZWlvdXkiOwoJCQkJCQkJcmV0dXJuIGZpbmQodm93ZWxzLmJlZ2luKCksIHZvd2Vscy5lbmQoKSwgYykgIT0gdm93ZWxzLmVuZCgpOwoJCQkJCQl9CgkJCQkJKTsKCQkJCX07CgkJCQlyZXR1cm4gdm93ZWxzX2NvdW50KGxoKSA8IHZvd2Vsc19jb3VudChyaCk7CgkJCX0KCSkgPDwgZW5kbDsKfQo=