The minimum is obtained when every team has at most one more than the minimum number of people. If there is a team for which the difference between the number of people and the minimum number of people is more than 1, we can reduce the friendships by transfering a person from that team to the minimum team. In this arrangement, the friendships can't be reduced. Transfering from two piles with th
source not stored for this graph (policy: none)