The three sides of a triangle are consecutive odd integers. If the perimeter of the triangle is 39 inches find the lengths of the sides of the triangle