The basketball team played 36 games. They won 3 more than twice the number of games they lost. How many games did the team win?