There are
- List of food lines with the number of people
- Number of people arriving
2 4 5 4
Food lines after the distribution of people
5 5 5
$1 \leq N \leq 100$ $1 \leq M \leq 100$ $1 \leq a_i \leq 100, i = 1,2,\dotsb,N$
There are
2 4 5 4
Food lines after the distribution of people
5 5 5