N = int(input()) ls = [input() for i in range(N)] print(*ls,sep='')