Sam had $39 to buy Christmas presents for his family. He bought a $12 T-shirt for his sister , an $18 dollar bracelet for his mom, and he still needs to get his dad a CD.

What's the most amount of money he can spend on his Dad's present?