Barkley's team won 40% of their games last season. If they won 12 games total last season, how many games did they play?