0 0 0 0 0 0 1 1 1 1 3 3 10 10 10 10 10 10 0 0 0 0 0 10 10 10 10 1 1 1 1 1 1 6 10 10 10 10 0 0 2 2 5 7 7 10 10 8 8 8 8 8 8 8 8 0 10 9 9 2 1 1 1 4 4 4 4 10 10 0 0 0 0 0 0 0 3 3 10 10 10 10 10 10 10 1 1 1 1 10 10