B is ranked 15th from the bottom in a group of 40 people. What is B's rank from the top?

Answer: B. 26th
If B is 15th from the bottom in a group of 40, then B's rank from the top is 40 - 15 + 1 = 26.