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: a completes a piece of work in 3 / 4 of the time in b does , b takes 4 / 5 of the time in c does . they got a profit of rs . 40000 how much b gets ?
Options: a ) 12765 , b ) 121227 , c ) 26887 , d ) 19977 , e ) 26992
a