It is a great success for a scientist archaeologist to find an ancient temple in good condition. The hero of the game Ancient Shrine was lucky, but this luck would not have been if not for years of searching. Now he stands in front of the entrance to the building, which was safely hidden in the Amazon jungle, so no one could find him. Having cut the path, the researcher saw a small, very ancient structure, similar to a temple. He will know for sure if he goes inside, but this is prevented by a complex lock on the door. It looks like a folded pyramid of mahjong tiles. To open the door, you need to remove all rectangular elements, finding pairs of the same.