n = int(input()) s = [] for i in range(n): s.append(input()) print (''.join(s))