Normal sudoku rules apply. (Within the 9x9 grid, place the digits 1 to 9 in every row, column and 3x3 box). Each of the ten cells outside the 9x9 grid must contain a digit from 1 to 9 inclusive. The outer digits can be repeated as necessary. Each outer digit gives the sum of the digits sandwiched between the 1 and 9 in its corresponding row/column. Adjacent digits along a green line must have a difference of at least 5.