# {i,j,N | 1<=i<=N; 0<=j<=N-1; 2<=N}
6 5
1 1 0 0 -1
1 -1 0 1 0
1 0 1 0 0
1 0 -1 1 -1
1 0 0 1 -2
1 0 0 0 1
# {i,j,N | 1<=i<=N; 1<=j<=N; 2<=N}
6 5
1 1 0 0 -1
1 -1 0 1 0
1 0 1 0 -1
1 0 -1 1 0
1 0 0 1 -2
1 0 0 0 1
# {i,j,N | 1<=i<=N; 0<=j<=N; 2<=N}
6 5
1 0 0 1 -2
1 -1 0 1 0
1 0 -1 1 0
1 1 0 0 -1
1 0 1 0 0
1 0 0 0 1