N = input() S ="" for i in range(0,N) : S += raw_input() print S