6 7 2 a 1 2 1 0 a 1 3 1 0 a 3 4 1 0 a 4 2 1 0 a 4 6 1 0 a 5 3 1 0 a 5 6 1 0 k 1 2 2 k 5 6 2 END