[3, 8, 4, 5, 10, 8, 5, 10, 4, 6] 3 1 1 1 0 0 0 0 0 0 1 1 1 2 1 1 3 1 2 3