There are n teams ina league and each team plays each other twice a season. The league plays 182 games. How many teams are in the league