A hiker walks 10 miles down a sidewalk to the start of a trail. After reaching the end of the trail, the hiker has walked 24 miles in total. How long is the trail?