P and Q started a business whose annual profit is 50000. Q being working partner received 20% profit as salary. If the entire profit were divided in the ratio of the ratio of their investment, P would have received 8000 more. Find actual profit share.