A local bakery sells muffins in three different flavors: chocolate, blueberry, and banana. Last week, the bakery made a total of 120 muffins, with the following distribution: 40% were chocolate muffins, 30% were blueberry muffins, and the rest were banana muffins.
How many banana muffins did the bakery make last week?