[1, 9, 9, 3, 4, 10, 10, 5, 1, 7] 9 0 0 2 1 0 0 0 1 0 1 2 2 2 2 2 3 2 3 4