s=' '*79 b=*$< $$.times{|i|7.times{|j|o=(s+b[j].chop+s)[i,80] o[50]=?*if ?i==o[50]*j puts o} puts}