Task about 3D labyrinth