ans = '' gets.to_i.times do ans += gets.chomp end puts ans