human
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?
assistant
How much does Penny spend on socks? ** Penny buys 4 pairs of socks for $2 x 4 = $<<4*2=8>>8.
How much money does Penny spend? ** In total, Penny spent $8 + $7 = $<<8+7=15>>15 on 4 pairs of socks and a hat.
How much money does Penny have left? ** Penny has $20 -$15 = $<<20-15=5>>5 left after buying 4 pairs of socks and a hat.
#### 5