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?
1
Rs. 12000
2
Rs. 16000
3
Rs. 10000
4
Rs. 20000