Given the task definition and input, reply with output. The task is to generate the correct answer for a given math problem.

Problem: an automobile parts supplier charges $ 25 per package of gaskets . when a customer orders more than 10 packages of gaskets , the supplier charges 4 / 5 the price for each package in excess of 10 . during a certain week , the supplier sold 60 packages of gaskets . if 15 percent of the gaskets went to company x , 15 percent to company y , and the rest to company z , what was the total amount , in dollars , that the parts supplier received in payment for the gaskets ?
1340