Q 2A and B invests Rs.10000 each, A investing for 8 months and B investing for all the 12 months in the year. If the total profit at the end of the year is Rs.25000, find their shares?AOption A: 10000 and 15000BOption B: 15000 and 10000COption C: 5000 and 20000DOption D: 20000 and 5000