Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a man swims downstream 30 km and upstream 20 km taking 5 hours each time , what is the speed of the man in still water ?
