A light beam has wavelength 650nm in air. On entering medium A its wavelength becomes 500nm and after subsequently entering medium B it is reduced to 400nm. Calculate:
(i) the refractive index of medium A with respect to air
(ii) the refractive index of medium B with respect to air
(iii) the refractive index of medium B with respect to medium A