N = int(input()) s = '' for _ in range(N): s += input() print(s)