Two plane mirrors A and B are aligned parallel to each other, as shown in fig. A light ray is incident at an angle of 30^o at a point just inside one end of A. The plane of incidence coincides with the plane of the figure. The maximum number of times the ray undergoes reflection (including the first one) before it emerges out is: