Given the task definition and input, reply with output. The task is to generate the correct answer for a given math problem.

Problem: two trains running in opposite directions cross a man standing on the platform in 27 seconds and 17 seconds respectively and they cross each other in 22 seconds . the ratio of their speeds is ?
1 / 1