A jogger running at 9 kmph alongside a railway track in 240 metres ahead of the engine of a 120 metres long train running at 45 kmph in the same direction. In how much time will the train pass the jogger?

A. 3.6 sec

B. 18 sec

C. 36 sec

D. 72 sec

Please do not use chat terms. Example: avoid using "grt" instead of "great".