Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a can do a piece of work in 10 days , b in 15 days . they work for 5 days . the rest of work finished by c in 2 days . if they get rs 1500 for the whole work , the daily wages of b and c are ?
