Daniel has a collection of 346 video games. 80 of them, Daniel bought for $12 each. Of the rest, 50% were bought for $7. All others had a price of $3 each. How much did Daniel spend on all the games in his collection?
On 80 games, Daniel spend 80 games * $12/game = $
<gadget id="calculator">80*12</gadget>
<output>960</output>
960.
The rest of the collection is 346 games - 80 games = 
<gadget id="calculator">346-80</gadget>
<output>266</output>
266 games.
50% of these games means 50/100 * 266 games = 
<gadget id="calculator">50/100*266</gadget>
<output>133</output>
133 games.
Daniel bought them for $7 each, so he had to spend 133 games * $7/game = $
<gadget id="calculator">133*7</gadget>
<output>931</output>
931 on them.
The other 133 games were bought for $3 each, so they've cost him 133 games * $3/game = $
<gadget id="calculator">133*3</gadget>
<output>399</output>
399.
On all games in total Daniel spent $960 + $931 + $399 = $
<gadget id="calculator">960+931+399</gadget>
<output>2_290</output>
2290.

<result>2_290</result>