10 students enter into a class after A and 15 students before B. Also, 5 students enter between A and B. How many students are there in total if A entered before B?
20
A enters before B. 15 students before B including the 5 between and A. Therefore total 9+A+5+B+4=20