A ball team played a number of games in a tournament and the ratio of winds to losses was 5:2. The team won 20 games. How many games did the team lose?