A company earns P dollars by selling x items, according to the equation P(x)=-0.002x^2+5.5x-1000. How many items does the company have to sell each week to maximize the profit?