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