Fairmart Department Store bought 400 infant's dresses at P18.00 each. The store sold 90 of the dresses at P23 each, 120 pieces at P25.50 each, 80 pieces at P26.50 each and the remainder at P25.75 each. What was the store's gross profit on the 400 dresses?