Hello All,

I am looking to develop a code to distribute a set of work in 12 people equally. But the catch is that, the work is already assigned to these people & I want to distribute it again.

Example - We have 120 lines to be divided among 12 people & I see 20 lines are already assigned to 1 person, & 15 lines are assigned to 2nd person & 6 lines are assigned to 3rd person & so on. Now I want to redistribute the work so that the first & 2nd person will get 1o lines from what they originally had (10*12 = 120) & remaining 10 lines should get assigned to someone else.

Can anyone please help.