The refractive index is always greater than 1. A higher refractive index correlates to a greater angle of refraction from one medium to another. So, Medium B would have a higher index of refraction.
Medium A has the higher index of refraction. Refractive index is a ratio of sin of angle of incidence (i) to sin of angle of refraction (r) = (sin i)/(sin r)