There were 120/3 = <<120/3=40>>40 men at the party.

There were 120/2 = <<120/2=60>>60 women at the party.

So, there were 40 + 60 = <<40+60=100>>100 men and women at the party.

Thus, 120 - 100 = <<120-100=20>>20 were children.

# Answer

20
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Out of the 120 people who attended the party, 1/3 are men while half are women. The rest are children. How many children attended the party?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
20
Out of the 120 people who attended the party, 1/3 are men while half are women. The rest are children. How many children attended the party?
train