[1, 2, 2, 6, 9, 9] 5 4 5 2 5 4 4 5 1 5