[10, 9, 6, 3, 1, 5, 5, 6, 5, 6] 0 0 1 2 5 0 0 0 0 0 1 1 1 1 1 2 3 2 3 3