A triangle has a perimeter of 33 inches. Two of the sides measure 5 inches and 14 inches. What is the length of the third side?