reaction between sulfur and oxygen is S+O2 = SO2. how much sulfur is in the original materials, would result in 1000g of so2

how many moles of SO2 is 1000g?

you used that same number of moles of S.

massS=molesS*32