r=readlines.map(&:chop);puts r.map(&:length).max.times.inject(''){|s,i|s<