n = int(input())
a = list(map(int, input().split()))
b = list(map(int, input().split()))
c = list(map(int, input().split()))

ans = sum(b)
for i in range(n-1):
    print(ans)
    if a[i+1] == a[i] + 1:
        ans += c[i-1]
print(ans)