n = int(input())
for _ in range(n):
    print(input(), end="")
else:
    print()