N=int(input()) a = [input() for i in range(N)] tmp='' for i in range(N): tmp=tmp+a[i] print(tmp)