Switch the frogs to the opposite side game

The object of the puzzle is to switch the positions of all the colored frogs, so that all three green frogs are on the right and all three brown frogs are on the left. Click on a frog to make it jump forward. A frog can jump a maximum of two spaces, and the destination spot must be free. Press the REINICIAR button to reset the game.

Assign these numbers to the rocks in the puzzle, from left to right:  1-2-3-4-5-6-7

Then click using this sequence: 

 3, 5, 6, 4, 2, 1, 3, 5, 7, 6, 4, 2, 3, 5, 4.