The correct response is:
The hammer and the wall exert forces on each other that are equal in magnitude and in the opposite direction.
This follows from 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, both the hammer and the wall apply forces on each other that are equal in strength but act in opposite directions.