Emmett participated in a race. During the race, he ran 5 miles north and then ran 12 miles west. What is the shortest distance that Emmett must travel to return to the starting point?