Octopuses can learn different mazes. They know which maze they are in. Straight away, they go the right way for the crab.