A and B started a venture with different investments. It was decided that A would get 20% of the profit as salary and the remaining profit would then be equally divided between the two of them. Had the entire profit been divided in the ratio of their investments, B would have received Rs. 5200 more as his share of the profit. The earning of A and B are respectively Rs. 16800 and Rs. 11200. Find the investments of A, if B invested Rs. 82000.