#include <iostream>
#include <string.h>
using namespace std;
int consoana(char *p)
{
int k=0;
char cons[]="bcdfghjklmnpqrstvwxz";
for(int i=0; i<strlen(p); i++) if(strchr(cons,p[i])) k++;
if(k==1) return 1;
else return 0;
}
int main()
{
char s[100],*p;
cin.get(s,100);
p=strtok(s," ");
while(p)
{
if(consoana(p)) cout<<p<<' ';
p=strtok(NULL," ");
}
return 0;
}