Nonlinear amplification of light in an N2-amplifier