Number Snake

Number Snake is a logic puzzle in which the objective is to find a continuous path through the given diagram, ensuring that each number is visited exactly.

Number Snake

Rules: Draw a single line in the grid that starts in the top left-hand corner, ends in the bottom right-hand corner and runs through exactly as many cells as indicated by the number in the bottom right-hand corner.
The sections of the line run horizontally or vertically between the centres of orthogonally adjacent cells. The line may not cross or use a field more than once.
Each number must appear exactly once on the line (not necessarily in the natural order).