20.times{|n|puts (("%20s".%"1"*-~n).chars.rotate(-$.+=n+1)*'').rstrip}