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