Bryan has a rectangular piece of cardboard 18 inches wide and 14 inches long. He decides to cut it along a diagonal to get two congruent triangles. To the nearest hch, what is the length of the longest side of one of these triangles?