main@m=getLine>>=putStrLn.f.break(`elem`"aeiou")>>m f(x,y)=y++x++['y'|x==[]]++"ay"