You will be given a definition of a task first, then some input of the task.
The task is to generate the correct answer for a given math problem.

Problem: the speed of the boat in still water in 12 kmph . it can travel downstream through 48 kms in 3 hrs . in what time would it cover the same distance upstream ?
Output:
6 hour