a math class has a total of 42 students. The number of males is 8 more than the number of females. How many males and how many females are in the class?​