N = int(input()) S = [] for i in range(N): S.append(input()) print("".join(S))