In a business A invests Tk. 600 more than B. The capital of B remained invested for months, while the capital of A remained invested for 2 more months. If the total profit be Tk. 620 and B gets Tk. 140 less than what A gets, then what will be the amount of A's capital?