Mr. Grey is purchasing gifts for his family. So far he has purchased 3 polo shirts for $26 each; 2 necklaces for $83 each; and 1 computer game for $90. Since Mr. Grey purchased all those using his credit card, he received a $12 rebate. What is the total cost of the gifts after the rebate?
Mr. Grey paid $26/shirt x 3 shirts = $
<gadget id="calculator">26*3</gadget>
<output>78</output>
78 on polo shirts.
He paid $83/necklace x 2 necklaces = $
<gadget id="calculator">83*2</gadget>
<output>166</output>
166 on necklaces.
So, he paid $78 + $166 + $90 = $
<gadget id="calculator">78+166+90</gadget>
<output>334</output>
334 for the gifts.
After the rebate, the total cost of the gifts is now $334 - $12 = $
<gadget id="calculator">334-12</gadget>
<output>322</output>
322.

<result>322</result>