The task is to generate the correct answer for a given math problem.
--------
Question: Problem: a , b and c are partners in a business . their capitals are respectively , rs . 5000 , rs . 6000 and rs . 4000 . a gets 30 % of the total profit for managing the business . the remaining profit is divided among 3 in the ratio of their capitals . in the end of the year , the profit of a is rs . 200 more than the sum of the profits of b and c . find the total profit ?

Answer: 3000


Question: Problem: arjun started a business with rs . 20,000 and is joined afterwards by anoop with rs . 80 , 000 . after how many months did anoop join if the profits at the end of the year are divided equally ?

Answer: 9


Question: Problem: a theater charges $ 12 for seats in the orchestra and $ 8 for seats in the balcony . on a certain night , a total of 340 tickets were sold for a total cost of $ 3,320 . how many more tickets were sold that night for seats in the balcony than for seats in the orchestra ?

Answer:
40