Harry decided to buy some balloons for his friend's birthday party. One balloon costs $0.5, and a pack of 10 balloons is cheaper and costs only $3. Finally, Harry wants to bring to the party exactly 14 balloons. How much did he need to pay for them?
To buy 14 balloons, Harry should buy one pack of 10, and 14 - 10 = 
<gadget id="calculator">14-10</gadget>
<output>4</output>
4 separate balloons.
The price of 4 balloons is 4 * 0.5 = $
<gadget id="calculator">4*0.5</gadget>
<output>2</output>
2.
In total, the pack and separate balloons would cost Harry in total 3 + 2 = $
<gadget id="calculator">3+2</gadget>
<output>5</output>
5.

<result>5</result>