An isosceles triangle has sides A, B, and C, such that sides A and B have the same length. Side C has a length of #14 # and the triangle has an area of #42 #. What are the lengths of sides A and B?