Andrew made 9 baskets out of the 15 shots he took in the first basketball game of the season. In the second game, he made 12 baskets and the percent of baskets he made was the same as the first game. How many shots did Andrew take in the second game?