A company produces two types of products, A and B. The production costs for each product type are different. For product A, the cost is represented by the equation $C_A = 15x + 120$, where $x$ is the number of units produced. For product B, the cost is represented by the equation $C_B = 18y + 80$, where $y$ is the number of units produced. The company wants to minimize the total cost of producing 20 units of product A and 10 units of product B. What is the total cost of production for both products?