Divide Rs. 28,730 between A and B so that when their shares are lent out at 10 per cent compound interest compounded per year, the amount that A receives in 3 years is the same as what B receives in 5 years.