There are 42 boys and 48 girls in the sixth grade and each student must be assigned a homeroom. Each homeroom should have the same number of boys and the same number of girls.
What is the greatest possible number of sixth-grade homerooms?
A
8
B
6
C
4