9.0 mol of pure ammonia gas was injected into a 3.0 L flask and allowed to reach equilibrium according to the equation 2 NH3(g) = N2(g) + 3 H2(g). The equilibrium mixture was analyzed and found to contain 3.0 mol of hydrogen gas. Calculate the value of the equilibrium constant.