In a business, A invests 600 rupees more than B. The capital of B remains invested for 712 months, while the capital of A remains invested for 2 more months. If the total profit be 620 rupees and B gets 140 rupees less than what A gets, then A′s capital is