Amit is ranked 12th from the top and Ravi is ranked 15th from the bottom in a class of 35 students. How many students are there between Amit and Ravi?