 
 <prompt> ```Penny get $20. Penny buy 4 pairs of socks for $2 each and one hat for $7. How much money remain for Penny?``` <response>: ```Penny buy 4 pairs of socks for $2 x 4 = $8.
In total, Penny spend $8 + $7 = $15 on 4 pairs of socks and a hat.
Penny get $20 - $15 = $5 remain after she buy 4 pairs of socks and a hat.

The final answer: 5.``` 