In 1 month it rained 12 inches. Then it rained 3 inches per month for 9 months. How many inches did it rain in all?