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