N = int(input())
A = list(map(int, input().split()))
B = list(map(int, input().split()))
C = list(map(int, input().split()))

count = 0

for i in range(N):
    count += B[i]

for i in range(0, N - 1):
    count += C[i]

if N > 2:
    count -= C[A[N - 1] - 1]

print(count)