s = input() print(s+"ham")