At Small Town High there are 100 students, each of whom takes at least one of biology, chemistry, or physics. There are 50 students in biology, 60 in chemistry, and 70 in physics. If 24 students are enrolled in exactly two of these classes, how many students are in all three?