A monochromatic light of wavelength \( 6000 \, \mathring{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.