A certain grocery purchased x pounds of produce for p dollars per pound. If y pounds of the produce had to be discarded due to spoilage and the grocery sold the rest for s dollars per pound, which of the following represents the gross profit on the sale of the produce?
(A) (x- y)s - xp
(B) (x- y)p- ys
(C) (s - p)y - xp
(D) xp - ys
(E) (x- y)(s- p)