import re while 1:print re.sub('y*([^aeiou]+)(.*)',r'\2\1ay','y'+raw_input())