Duke goes to target to buy some socks. Each pair of socks costs $3.49. The cashier gave duke $4.06 change from his $25. How many many pairs of socks did he purchase?