A triangle has sides with lengths of 39 miles, 80 miles, and 89 miles. Is it a right triangle?