A starts a business with Rs. 4000 and B joins the business 4 months later with an investment of Rs. 5000 after a year, they earn a profit of Rs. 22000. Find the shares of A and B?

A ) 10000, 12000

B ) 12000, 10000 ✅

C ) 24000, 20000

D ) 20000, 10000