When the earth was formed it had an atmosphere with:

water vapour, ammonia and methane

Hydrogen, Oxygen and Nitrogen

Oxygen carbondioxide and nitrogen

Water vapour, Hydrogen and oxygen