In a class, the number of female students was two-thirds the number of male students. The average height of male students was 1.65 m. The average height of both the male and female students was 1.59 m. What was the average height of the female students?