#include <iostream>
#include <cstring>
using namespace std;
const int NMAX = 1000;
int main()
{
char s[NMAX] = {0}, aux[NMAX] = {'p'};
cin >> s;
for(int i=0; i<strlen(s); i++) {
if(strchr("AEIOUaeiou", s[i])) {
strcpy(aux + 1, s + i);
strcpy(s + i + 1, aux);
aux[1] = 0;
i += 2;
}
}
cout << s;
return 0;
}