Yarn: one thread through the whole grid

A path puzzle: the cat has unwound the ball of yarn, and the thread must go through every cell, once each, following the numbers.

CA ES