Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: the average monthly income of p and q is rs . 5050 . the average monthly income of q and r is rs . 6250 and the average monthly income of p and r is rs . 5200 . the monthly income of p + q + r is :
