num = input() temp = "" for i in xrange(num): temp += raw_input() print temp