n = int(input()) s = "" for _ in range(n): s += input() print(s)