Paint the first row of the cyclic cellular automata