Given the task definition and input, reply with output. In this task, you need to answer the given multiple-choice question on the general math. Classify your answers into 'a', 'b', 'c', 'd', and 'e'.

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 ?
Options: a ) rs . 300 , b ) rs . 400 , c ) rs . 480 , d ) rs . 500 , e ) rs . 520
b