This year the boys’ basketball team won 4 times as many games as it lost. The team played a total of 40 games. How many games did the team win?