I n a class Vidya ranks 7th from the top. Divya is 7 ranks ahead of Megha and 3 ranks behind Vidya. Sushma who is 3rd from the bottom is 32 ranks behind Megha. How many students are there in the class?
(A) 49
(B) 50
(C) 52
(D) None of these
pls explain how the ans is d?