If two-thirds of A's investment is equal to one-third of B's investment and the total investment in which only these two are involved is Rs.69000, find the investment of B.