import re while 1:a,b,_=re.split('([aeiou].*)',raw_input());print b+(a or"y")+"ay"