Barry and his friend, Jim, went horseback riding across central Texas. They traveled at 5 miles per hour for 7 hours, and then stopped for the evening.  The next day, they traveled at 6 miles per hour for 6 hours, and then at half that speed for another three hours, before stopping to rest for the night.  On the third and final day, they traveled for 5 hours at 7 miles per hour.  In total, how far did they travel, in miles, during their horseback riding trip? Let's think step by step and output the final answer after "####".
user
On the first day, they traveled 5*7=<<5*7=35>>35 miles.
On the first part of the second day, they traveled 6*6=<<6*6=36>>36 miles.
The second part of the second day, at half their morning speed, they traveled (6/2)*3=<<6/2*3=9>>9 miles.
On the final day, they traveled 5*7=<<5*7=35>>35 miles.
In total, they traveled 35+36+9+35=<<35+36+9+35=115>>115 miles.
#### 115
Barry and his friend, Jim, went horseback riding across central Texas. They traveled at 5 miles per hour for 7 hours, and then stopped for the evening.  The next day, they traveled at 6 miles per hour for 6 hours, and then at half that speed for another three hours, before stopping to rest for the night.  On the third and final day, they traveled for 5 hours at 7 miles per hour.  In total, how far did they travel, in miles, during their horseback riding trip?
train