In order to calculate the work done, we can use the formula below:

Where W is the work done (in J), F is the force (in N) and d is the distance (in m).
Since the boy is going up the stairs, the force is equal to his weight force:

Now, calculating the work, we have:

Therefore the correct option is B.