import java.util.Scanner; public class Main { public static void main(String[] p) { Scanner q = new Scanner(System.in); System.out.println(q.next() + "ham"); } }