Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: if 4 ( p ' s capital ) = 6 ( q ' s capital ) = 10 ( r ' s capital ) , then out of the total profit of rs 4030 , r will receive
