Write the equation for the main reaction that takes place in the smelting furnice in the extraction of lead metal

2PbS + 3O2 → 2Pb + 2SO2