The correct response is:
The hammer and the wall exert forces on each other that are equal in magnitude but in opposite directions.
This statement reflects Newton's third law of motion, which states that for every action, there is an equal and opposite reaction. When the sledgehammer hits the wall, it exerts a force on the wall, and in turn, the wall exerts an equal force back on the hammer in the opposite direction.