React

[1, 3, 4, 5, 8, 2, 1, 4, 5, 9, 5]

hand
"right"
result
"LRLLLRLLRRL"