Jessica has $7 left in her pocket. She spent $9 on a ticket to a baseball game, $3 on a hotdog, and $11 on a hat. How much money did she have at the beginning of the day?