How are the winnings distributed when you register as a team?

The distribution of the money in case of victory is done automatically and equitably between all the players of the team.