B and O are partners that share income in a ratio of 2:3, with capital balances of $50,000 and $30,000, respectively. R is admitted into the partnership by investing $20,000, and is given 40% interest. What is B's capital balance after the admittance?