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 strikes the wall, it exerts a force on the wall, and simultaneously, the wall exerts an equal and opposite force on the sledgehammer.