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: when an amount was distributed among 14 boys , each of them got rs 80 more than the amount received by each boy when the same amount is distributed equally among 18 boys . what was the amount ?
Options: a ) 5000 , b ) 5030 , c ) 5010 , d ) 5040 , e ) 5020
d