There are 42 boys and 48 girls in sixth grade and each student must be assigned a home room. Each homeroom should have the same number of boys and the same number of girls.

what is thegreatest possible number of sixth grade students?