N = int(input()) print("".join(input().rstrip() for i in range(N)))