Chris has twelve marbles, and Ryan has twenty-eight marbles. If they put marbles together in a pile and then each takes away 1/4 of marbles from the pile, calculate the number of marbles remaining in the pile.
If Chris and Ryan put together their marbles in a pile, the pile will have 12+28 = 
<gadget id="calculator">12+28</gadget>
<output>40</output>
40 marbles.
If they then take 1/4 of the marbles each, every person will receive 1/4*40 = 
<gadget id="calculator">1/4*40</gadget>
<output>10</output>
10 marbles.
Both of them will have taken a total of 10+10 = 
<gadget id="calculator">10+10</gadget>
<output>20</output>
20 marbles.
The number of marbles remaining in the pile is 40-20 = 
<gadget id="calculator">40-20</gadget>
<output>20</output>
20.

<result>20</result>