perl -e 'print$}+=$.=$}-$.||1,$/for+e..x' ruby -e 'x=-1;20.times{p$.+=x=$.-x}' ruby -e 'x=-1;(1..20).map{p$.+=x=$.-x}'