Penny has $20. Penny buys 4 pairs of socks for $2 a pair and a hat for $7. How much money does Penny have left?
Penny buys 4 pairs of socks for $2 x 4 = $
<gadget id="calculator">4*2</gadget>
<output>8</output>
8.
In total, Penny spent $8 + $7 = $
<gadget id="calculator">8+7</gadget>
<output>15</output>
15 on 4 pairs of socks and a hat.
Penny has $20 -$15 = $
<gadget id="calculator">20-15</gadget>
<output>5</output>
5 left after buying 4 pairs of socks and a hat.

<result>5</result>