Send all of the yellow frogs to the right side of the pond, and all of the red frogs to the left side of the pond. How many moves does it take?
http://www.hellam.net/maths2000/frogs.html