The ratio of the lengths of the three sides of a triangle is 5: 8: 10 . If its perimeter is 276 inches, find the length of the Iongest side of the triangle.