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(len(A)-1):
    if A[i] + 1 == A[i+1]:
        if N % 2 == 1 or N == 2:
            ans += C[i-1]
        else:
            ans += C[i+1]

print(ans)
