You will be given a definition of a task first, then some input of the task.
The task is to generate the correct answer for a given math problem.

Problem: a starts a business with $ 3500 . after 5 months , b joins with a as his partner . after a year , the profit is divided in the ratio 2 : 3 . b ' s contribution in the capital is
Output:
9000