Task: Question Answering
Input (English): Problem: rs . 1210 were divided among 3 person p , q , r so that p : q = 5 : 4 and q : r = 9 : 10 . then r gets the amount ?
Output (English): rs . 400