while 1: a=raw_input();c=0 if a[0]in'aeiou':a='y'+a while(a[c]in'aeoiu')-1:c+=1 print a[c:]+a[:c]+'ay'