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, both the hammer and the wall exert forces on each other that are equal in size and opposite in direction.