Patriotic Painting 2#10823

Patriotic Painting 2 (Shpjegimi i zgjidhjes)

Suppose that in the final coloring there will be yellow consecutive segments of lengths . Consider some segment, it was formed from some subset of operations, suppose with length b_1, b_2, \ldots, b_s. It's clear that from seg