#include <iostream>
#include <string.h>
using namespace std;
int main()
{char s[21], aux;
cin>>s;
int i=0, j=strlen(s)-1;
while(strchr("aeiou",s[i]) !=NULL)
i++;
while(strchr("aeiou",s[j]==NULL)
j--;]
aux=s[i];
s[i]=s[j];
s[j]=aux;
cout<<s;
return 0;
}