Three persons enter into a partnership by investing in the ratio of 9:8:1. After one year P double his investment and R puts another Rs.6000 to the initial investment. Now the ratio of investment is 9:8:2. What is total investment of P,Q and R after 2 years?