eval"(a=%d).times{|i|($*[i+%d]||$*)<<' %c'*a};"*9%("aebfc ghd i".unpack"c*") puts$*