The correct response is:
The hammer and the wall exert forces on each other that are equal in magnitude but in opposite directions.
This is in accordance with Newton's Third Law of Motion, which states that for every action, there is an equal and opposite reaction. When the sledgehammer strikes the wall, it exerts a force on the wall, and the wall simultaneously exerts an equal force back on the hammer in the opposite direction.