You will be given a definition of a task first, then some input of the task.
The task is to generate the correct answer for a given math problem.

Problem: 8 people went to a restaurant for dinner . 7 of them spent $ 10 each on their meals and the eighth spent $ 7 more than the average expenditure of all 8 people . what was the total amount of money that the 8 people spent ?
Output:
$ 88