In a class of 62 students the number of females is one less than twice the number of males. How many males and females are in the room?