if __name__ == "__main__": N = int(input()) ans = '' for i in range(N): s = input() ans += s print(ans)