s = str(input()) print(s+'ham')