There are 16 people at a dinner party. There are 40 dinner rolls available for them. Half the people eat 1 1/2 rolls each. The other half eat 1/2 a roll each. How many dinner rolls are leftover?
Half the people at the party is 16 / 2 = 
<gadget id="calculator">16/2</gadget>
<output>8</output>
8 people.
8 people at the party eat 1 1/2 rolls each, 8 x 1 1/2 = 12 dinner rolls eaten.
8 people at the party eat 1/2 a roll each, 8 x 1/2 = 
<gadget id="calculator">8*1/2</gadget>
<output>4</output>
4 dinner rolls eaten.
Combined, the people at the party ate 12 + 4 = 
<gadget id="calculator">12+4</gadget>
<output>16</output>
16 dinner rolls.
There were originally 40 dinner rolls - 16 that got eaten = 
<gadget id="calculator">40-16</gadget>
<output>24</output>
24 dinner rolls leftover.

<result>24</result>