X and Y entered into partnership with Rs. 700 and Rs. 600 respectively. After another 3 months, X withdrew two- sevenths of his stock but after 3 months, he puts back three-fifths of what he had withdrawn. The total profit at the end of the year is Rs. 726. How much of this should X receive?