2001.times{|j|n=10**9-1-j;d=n*n+n;50.times{|i|p d-i}}