The task is to generate the correct answer for a given math problem.
Q: Problem: a man walks at a rate of 10 mph . after every ten miles , he rests for 7 minutes . how much time does he take to walk 50 miles ?
A:
328