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