A factory produces two types of goods, A and B. Each unit of A requires 2 hours, and each unit of B requires 3 hours of labor. The factory has a total of 60 hours available per day. If profit per unit of A is ₹40 and per unit of B is ₹50, how many units of each should be produced to maximize profit?