If 12.0 mol of NH3 reacted with 7.00 mol of O2, how many moles of H2O will be produced?

the balanced equation will tell you how much H2O you get, depending on which reactant is used up first.