n = int(input()) a = [] for i in range(n): b = input() a.append(b) for i in a: print(i, end = "")