The equal sides of an isosceles triangle is 4 inches longer than the base. If the perimeter of a triangle is 23 inches, find the length of its base.