There are 80 men in a race. 1/4 of the men tripped and were unable to finish. 2/3 of the remaining men were dehydrated and 1/5 of those dehydrated men couldn't finish the race. How many men finished the race?
1/4 of 80 men is 80/4=
<gadget id="calculator">80/4</gadget>
<output>20</output>
20 men
20 men couldn't finish, so 80-20=
<gadget id="calculator">80-20</gadget>
<output>60</output>
60 men remain
60*2/3 = 
<gadget id="calculator">60*2/3</gadget>
<output>40</output>
40 men were dehydrated
1/5 of the dehydrated couldn't finish 40*1/5=
<gadget id="calculator">40*1/5</gadget>
<output>8</output>
8 men
60-8=
<gadget id="calculator">60-8</gadget>
<output>52</output>
52 men finished the race.

<result>52</result>