import java.io.*;enum C{a;System z;String s;{try{for(BufferedReader b=new BufferedReader(new InputStreamReader(z.in));(s=b.readLine())!=null;)z.out.println((s.indexOf('t')<1)?"h"+s:s);}catch(Exception e){}}}