Molar gas volume at stp is :
1 mole = 22400 cm³ = 22.4 litres
Density = mass / volume
Density = 1.78g/litre
Volume = 22.4 litres
Mass = volume × density
1.78 × 22.4 = 39.872 g