Ram and Raj start a business with investments of Rs. 2500 and Rs. 2250 respectively. After 2 months, Ram takes out Rs.1250 from his capital. After 1 more month, Raj takes out Rs.750 of his capital while Rakesh joins them with a capital of Rs. 3500. At the end of 6 months, they earn a profit of Rs. 2540. Which of the following is the share of each member in the profit ?