Fill in the grid so that every row and every column contains the digits 1 through 5. Numbers must be placed according to greater (>) and less (<) signs. The numbers between two cells give the difference of the digits.

Fill in the grid so that every row, and every column contains the digits 1 through 7. All neighbouring cells with consecutive digits are connected by a line. If the digits are not consecutive there is no line.