26. A fence 2022 meters long is used to form a triangle, and the lengths of the three sides are all integers in meters. Among them, the lengths of two sides differ by 1 meter, and the lengths of two sides differ by 2 meters. The lengths of the three sides, sorted from smallest to largest, the middle side is $\qquad$ meters.