Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a sum of money is to be distributed among a , b , c , d in the proportion of 5 : 2 : 4 : 3 . if c gets 1000 more than d , what is b ’ s share ?
