Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: the ratio of money with ram and gopal is 7 : 17 and that with gopal and krishan is 7 : 17 . if ram has rs . 490 , krishan has ?
