A monochromatic light of wave length 6000^{\circ} \mathrm{A} is passed through two media A and B of thickness 10 cm and 16 cm respectively. The number of waves in A is \frac{1}{2} that of B. If the refractive index of A is \frac{4}{3}, find the refractive index of B.