One boat sails 30 miles west and 22 miles north. Another boat sails 55 miles west and 40 miles north. Which boat traveled in the direction closest to due north?​