A french class has a total of 46 students. The number of females is 14 less than the number of males. How many males and how many females are in the class?