N = int(input()) S ="" for i in range(N): S += input() print(S)