Substitute each of the capital letters in this 4x4 grid by a different digit from 0 to 9, such that the sum of each of the four columns as well as the sum of each of the four rows is NL.
S C A N
P O L E
A R E A
R E S T
Note: NL represents the number 10*N + L.