During harvest time four farmers sold their crops to a buyer. Mr. Santos’ crops costs PHP 6 850, for Mr. Salamanca, they cost PHP 9 850. The crops of Mr. Torres cost PHP 10 250 and for Mr. Arellano, they cost PHP 9 565. How much was the total cost of the crops of the four farmers.