Use Algorithm $1$ to determine the maximum number of total attendees in the talks in Example $6$ if $w_{i},$ the number of attendees of talk $i, i = 1, 2,\dots, 7,$ is
- $20, 10, 50, 30, 15, 25, 40.$
- $100, 5, 10, 20, 25, 40, 30. $
- $2, 3, 8, 5, 4, 7, 10. $
- $10, 8, 7, 25, 20, 30, 5.$