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

A. 28 games
B. 52 games
C. 27 games
D. 30 games