Instructions: The task is to generate the correct answer for a given math problem.
Input: Problem: two bullet trains of equal lengths take 10 seconds and 12 seconds respectively to cross a telegraph post . if the length of each bullet train be 120 metres , in what time ( in seconds ) will they cross each other travelling in opposite direction ?
Output:
11 sec .