Mary spent a total of $292.58 for a party. She spent $200.72 on food, plus an additional $30.62 for each hour of the party. How long was the party?