In a certain triangle, two of the sides have measures of 8 and 10. If the triangle is isosceles, then which of the following could be the measure of the third side?
A. 18
B. 2
C. 20
D. 8