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