Oshidori-asobi

Yelow and blue stone are lined up alternately.
You can move two adjoined stones at a time.
Arrange the stones as shown on the left.
Minimize the number of the movements.


SOURCE