Mary bought a packet of 1500 stickers. She shared them between Susan, Andrew and Sam in the ratio 1:1:3 respectively. If Sam gave Andrew two-thirds of his own share, how many stickers does Andrew now have?
The sum of the ratio is 1+1+3 = 5, therefore each part is 1500/5 = 300 stickers.
Sam got 3 parts for a total of 3*300 = 
<gadget id="calculator">3*300</gadget>
<output>900</output>
900 stickers.
He gave two-thirds of this which is 900*(2/3) = 
<gadget id="calculator">900*(2/3)</gadget>
<output>600</output>
600 stickers to Andrew.
Andrew had one part already, which is 1*300 = 
<gadget id="calculator">1*300</gadget>
<output>300</output>
300.
Andrew now has a total of 300+600 = 
<gadget id="calculator">300+600</gadget>
<output>900</output>
900 stickers.

<result>900</result>