Molar mass of CO2 = 44 g
Mass of 1 mole of CO2 = 44 g
Hence , mass of moles of CO2 = 5 44 = 220 g
Molar mass of H2S = 34 g
Mass of 1 mole of H2S = 34 g
Hence , mass of 5 moles of H2S = 5 34 = 170 g
Therefore , 5 moles of CO2 and 5 moles of H2S has different mass.