0 0 1 1 2 2 3 4 1 5 0 6 -1 7 -2 8 -2 x -1 10 0