Exchange the arrows as shown on the left. The arrow can only move forward. Each arrow can jump over another arrow which is the other color.