n=gets.to_i s=[] n.times{s.push(gets.chomp)} puts s.join('')