Given the task definition and input, reply with output. The task is to generate the correct answer for a given math problem.

Problem: a , b and c invested rs . 6300 , rs . 4200 and rs . 10500 respectively , in a partnership business . find the share of a in profit of rs . 12500 after a year ?
3750