a:stdin.get_s(99);s:a.size;s.times{|i|b:"";s.times{b~=it==i||it==s/2||it==s+~i?a.slice(i,i+1):" ";};(i==s/2?a:b).p;}