Two trains running in inverse ways cross a man remaining on the stage in 27 seconds and 17 seconds separately and they cross each other in 23 seconds. The ratio of their speed is: A) 2: 3 B) 3: 2 C) 3: 6 D) None of these