n = int(input())
a = [int(i) for i in input().split()] 
b = [int(i) for i in input().split()] 
c = [int(i) for i in input().split()] 

satify = 0
first = a[0]
last = a[-1]


for i in range(1,len(a)+1):
    if i == first or i == last or i == n:
        satify += b[i-1]
    else:
        satify += b[i-1] + c[i-1]
        
print(satify)