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