Carbon absorbs energy at a wavelength of $150 . \mathrm{nm}$. The total amount of energy emitted by a carbon sample is $1.98 \times 10^{5} \mathrm{~J}$. Calculate the number of carbon atoms present in the sample, assuming that each atom emits one photon.