#include <iostream>
#include <cstring>
using namespace std;
int main() {
char s[201], t[201];
cin.getline(s, 201);
int sem = 0;
for (int i = strlen(s) - 1; i >= 0; i--)
if (strchr("aeiou", s[i])) {
strcpy(t, s + i);
strcpy(s + i + 1, t);
s[i + 1] = '*';
sem = 1;
}
if (sem)
cout << s << endl;
else
cout << "FARA VOCALE";
return 0;
}