import java.util.*; public class Exercise154 { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String str = sc.next() + "ham"; System.out.println(str); } }