A manufacturer estimates that when q units of a particular commodity are produced each month, the total cost will be C(q)=0.4q^2 +3q +40 thousands dollars, and all units can be sold at a price of p(q) = 22.2-1.2q thousands dollars per unit. Find the max profit.