Shweta, Piyush and Nachiket together invested 80000 rupees and started a business of selling sheets and towels from Solapur. Shweta's share of the capital was 30000 rupees and Piyush's 12000.At the end of the year they had made a profit of 24%. What was the amount invested by Nachiket?