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?
There were 120/3 = 
<gadget id="calculator">120/3</gadget>
<output>40</output>
40 men at the party.
There were 120/2 = 
<gadget id="calculator">120/2</gadget>
<output>60</output>
60 women at the party.
So, there were 40 + 60 = 
<gadget id="calculator">40+60</gadget>
<output>100</output>
100 men and women at the party.
Thus, 120 - 100 = 
<gadget id="calculator">120-100</gadget>
<output>20</output>
20 were children.

<result>20</result>