Sorting Frogs

puzzle
1121 Played