Suppose the Sunglasses Hut Company has a profit function given by P(q) = -0.02q^2 + 3q - 42, where q is the number of thousands of pairs of sunglasses sold and produced, and P(q) is the total profit, in thousands of dollars, from selling and producing q pairs of sunglasses.

A. How many pairs of sunglasses (in thousands) should be sold to maximize profits? (If necessary, round your answer to three decimal places.)
___________ (muliplied by 1000) pairs of sunglasses.

B. What is the maximum profit? ________ (multiplied by 1000)