Fill in the grid so that every line (in both with arrows marked directions) contains all the numbers from 1 to the length of that particular line.