How cat solves the puzzle