One face of a prism with a refractive angle of 30∘ is coated with silver. A ray of light incident on another face at an angle of 45∘ is refracted and reflected from the silver coated face and retraces its path. What is the refractive index of the prism?