The task is to generate the correct answer for a given math problem.

Problem: two bullet train s 140 m and 200 m long run at the speed of 60 km / hr and 40 km / hr respectively in opposite directions on parallel tracks . the time ( in seconds ) which they take to cross each other , is :
12.24 sec .