The profit when selling 'x' pairs of shoes is P(x)=-4x^2+32x-39. How many pairs of shoes should be sold in order to maximize the profit