A geometry class has a total of 27 students. The number of females is 13 less than the number of males. How many males and how many females are in the class?