The legs of an isosceles triangle are 13 units long and the altitude to the base is 12 units long. Find the length of the base.