Work is defined as the force applied over a distance in the direction of the force. The formula for work is:
\[ \text{Work} = \text{Force} \times \text{Distance} \times \cos(\theta) \]
where \( \theta \) is the angle between the force and the direction of motion.
In this case, the person applies a force of 500 newtons against the wall, but since the wall does not move, the distance over which the force is applied is 0 meters. Therefore:
\[ \text{Work} = 500 , \text{N} \times 0 , \text{m} \times \cos(0^{\circ}) = 0 , \text{J} \]
Since the wall does not move, no work is done by the person.
The answer is 0 joules.