Загрузка данных


n = int(input())
a1 = [int(input()) for _ in range(n)]
a2 = list(map(int, input().split()))
print(*a1)
print(*a2)