It is necessary to gradually remove two identical candies, while they should not be blocked. That is, they should be left or right free, and the others not on top. The path from one candy to its pair may not be short, but the main thing is to connect at right angles, no more than two bends. Touch