Fewest moves

An hour, a pen and paper: the shortest written solution wins.