Peter started a retail business by investing Rs. 25000. After eight months Sam joined him with a capital of Rs. 30,000. After 2 years they earned a profit of Rs. 18000. What was the share of Peter in the profit?
ARs. 12000
BRs. 16000
CRs. 10000
DRs. 20000