Nitrogen can also be produced from sodium metal and potassium nitrate by the reaction:

Na(s) +KNO3 (s) --> K2O(s) +Na2O(s) + N2(g)

If we generate oxygen by the thermal decomposition of potassium chlorate:

2KClO3(s) --> 2KCl(s) +3O2(g)

How many grams of potassium nitrate and how many grams of potassium chlorate would be needed to make 200.0L of gas containing 160 L N2 and 40.0 L O2 at 1.00 atm and 290 K?