A group of people living in a pension suggests that a rich man recommends that they play a game in which they fast for 6 days in order to receive a sum of money according to the following calculation: 6 days of fasting: 10 thousand pounds, 5 days - 6 thousand pounds, 4 days - 4 thousand pounds, 3 days - 2 thousand pounds, 2 days - 1 thousand pounds, and one day takes nothing.