A biology class has a total of 35 students. The number of females is 11 less than the number of males. How many males and how many females are in the class?