Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a person travels equal distances with speeds of 3 km / hr , 4 km / hr and 5 km / hr and takes a total time of 54 minutes . the total distance is ?
