A train overtakes two persons like A and B who are walking in the same direction in which the train is going, at the rate of 8 kmph and 16 kmph and passes them completely in 36 and 40seconds respectively. The length of the train is: A) 800m B) 750m C) 250m D) 450m