N = int(input()) n = [input() for _ in range(N)] print("".join(n))