N = int(input()) a = [input() for i in range(N)] ans = "" for s in a: ans += s print(ans)