A and B undertook a work for Rs. 11,500. When they worked together A got Rs. 2,300 less than B and