In a class of 54 students, 36 are in Algebra class and 32 are in Biology class. Out of all these students, 21 are in both Algebra and Biology classes. Determine the number of students: