Tom got 40 oranges and 70 apples. If he sold 1/4 of the oranges and 1/2 of the apples. How many fruits were left in total?
There are 40 + 70 = 
<gadget id="calculator">40+70</gadget>
<output>110</output>
110 oranges and apples altogether .
He sold 40 x .25 = 
<gadget id="calculator">40*.25</gadget>
<output>10</output>
10 pieces of oranges.
He sold 70 x .50 = 
<gadget id="calculator">70*.50</gadget>
<output>35</output>
35 pieces of apples.
So, Tom was left with 110 - 10 - 35 = 
<gadget id="calculator">110-10-35</gadget>
<output>65</output>
65 pieces.

<result>65</result>