The thief managed to get into the tomb with jewels, he took the bag and was about to throw back all the gems, but could not budge them. It turned out that the stones are under a protective mechanism. If you solve a small puzzle, the mechanism fails, and then the thief will take all the gems. Try to solve the puzzle in which you need to parse all the colored blocks.