#include<iostream>
#include<cstring>
using namespace std;
int main() {
char s[256];
cin.getline(s, 256);
char * p = strtok(s, " ");
while (p != NULL) {
int k = 0;
for (int i = 0; i < strlen(p); i++)
if (strchr("aeiou", p[i]) != NULL)
k++;
if (k == strlen(p))
cout << p << endl;
p = strtok(NULL, " ");
}
return 0;
}