Suppose three riders rode a total of 240 miles. If they used a total of 16 horses and rode each horse the same number of miles, how many miles did they ride before replacing each horse