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