two farmers, Peter and James took a total of 40 beef cattle for sale at two different slaughter houses and each got the same amount from the sale. If Peter had sold at James' selling price, he would have got Sh.115,200 and if James had sold at Peter's selling price, he would have got Sh.51200. How many beef cattle did each take to the slaughter house?