A invested ₹12000. After 5 months B joined with ₹8000. At end of year, profit was ₹9800. Find B's share.