I think the question meant to say net force on the box. Since force is a vector, the direction matters. 20N left is negated completely by the 50N right, which means the net force is 50N-20N to the right, 30N.
Atomic mass= number of protons + number of neutrons

hope this helps