Effect of two imperfect key production subsystems on the optimal number of production cycles - Ai, The Jin