10 10 [1, 2, 3, 2, 5, 3, 2, 2, 4] 1 1 1 2 2 3 2 2 4 1