Mrs. Jones has 18 boys and 27 girls in choir. she wants them to stand in equal rows. only boys or girls will be in each row. what is the greatest number of students that can stand in each row?