Camp has 3 * 40 boys = <<3*40=120>>120 girls.

Camp Cedar has a total of 40 boys + 120 girls = <<40+120=160>>160 children.

Camp needs 1 counselor per 8 children, so 160 children / 8 children = <<160/8=20>>20 counselors needed.

# Answer

20
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Camp Cedar has 40 boys, it has 3 times as many girls.  It needs 1 counselor for every 8 children.  How many counselors does Camp Cedar need?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
20
Camp Cedar has 40 boys, it has 3 times as many girls.  It needs 1 counselor for every 8 children.  How many counselors does Camp Cedar need?
train