Sorting Frogs

puzzle
1051 Played