React

[95, 90, 99, 99, 80, 99]

return
[1, 3, 2]
speeds
[1, 1, 1, 1, 1, 1]