A professional basketball team won 52 games this season. The team won 22 more games than it lost. There were no ties. How many games did the team​ lose? How many did it​ play?