During a trip to the mall, Pam spent $12.95 on a purse, $8.50 for a book, and $3.75 for a smoothie at the food court. She also returned a key chain and received a cash refund of $5.00. If Pam had $24.80 at the end of her trip, how much money did she have initially?