A light ray travels through three medias as shown. Which of the following shows the ascending order of their refractive indices?