## https://yukicoder.me/problems/no/423 def main(): N = input() print(N + "ham") if __name__ == "__main__": main()