def unko(num): num += "ham" return num if __name__ == '__main__': num = input() print (unko(num))