Mary spent a total of $354.71 for a party. She spent $200.76 on food, plus an additional $30.79 for each hour of the party. How long was the party?