Error: Error in balancing the equation: There is an infinite amount of solutions.

? (NH4)2Cr2O7 + ? Mg + ? O2 ? MgO + ? N2 + ? Cr2O3 + ? H2O