You are told how much energy is emitted in a second, and asked how much mass this came from. The relationship between energy and mass that produces it is
E = mc^2, so m = E/c^2.
The energy and speed of light are given in cgs units, so the mass will be in grams.
You have E, you have c. Just plug in.