There are 9 + 12 = <<9+12=21>>21 students in a class.

Hence, 21/3 = <<21/3=7>>7 groups are formed.

# Answer

7
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
There are 9 boys and 12 girls in a class. The teacher needs to create groups with three members for their class activity. How many groups are formed?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
7
There are 9 boys and 12 girls in a class. The teacher needs to create groups with three members for their class activity. How many groups are formed?
train