In a class of 30 students, A is ranked 12th from the top. What is A's rank from the bottom?

B. 18TH

In a race of 40 participants, D finishes 15th. If E finishes 5 places behind D, what is E's rank from the bottom?

A. 26TH

Alice is ranked 5th from the top and 26th from the bottom in a competition. How many participants are there in total?

B. 31

In a class of 30 students, John is ranked 12th from the top. What is his rank from the bottom?

B. 19TH

Two students, Sarah and Tom, are interchanged in their ranks. Sarah is 8th from the top and Tom is 22nd from the bottom. What is the total number of students?

C. 31