A triangle has sides A, B, and C. Sides A and B are of lengths 8 and 5, respectively, and the angle between A and B is pi/6. What is the length of side C?