To find the total distance that James and Luke hiked, you need to add the distances they hiked each day together:
- First day: 416 miles
- Second day: 323 miles
- Third day: 423 miles
Now, add these distances:
\[ 416 + 323 + 423 = 1162 \text{ miles} \]
So, the total distance the boys hiked is 1162 miles.