Raju and Joseph started a business together investing 60000 rupees together. When the profit for a month was divided, Raju got 1400 rupees and Joseph got 1000 rupees. How much did each invest to start the business?