list(n:=1,2,2)do(1e4repeat(do(at(n-1)print;at(n=n+1)repeat(push(1+n%2)))))