Mary spent a total of $352.52 for a party. She spent $200.27 on food, plus an additional $30.45 for each hour of the party. How long was the party?