If 32g of sulphur has x atoms, then the number of atoms in 32g of oxygen will be:
Atomic weight of sulphur = 32g
One atom of sulphur weighs 32g
Atomic weight of oxygen is 16g
Hence, 2 atoms of oxygen weighs 32g