Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a man can row 6 kmph in still water . when the river is running at 2 kmph , it takes him 1 hour to row to a place and black . what is the total distance traveled by the man ?
