There are n people playing a game, where i−th person has ai coins. In each round, they randomly choose two players. Then the first one should give one coin to the second. If someone leaves no coin after that, he leaves the game and the rest players continue the game until a player owns all the coins. F wants to know the expected number of rounds.