The profit that the vendor makes per day by selling x pretzels is given by the function. P(x) = -0.002x2 + 1.4x - 400. Find the number of pretzels that must be sold to maximize profit.