There are 34 students in anatomy class and 37 students in physics class. If there are 48 students in total, how many students are in both classes?