n = int(input())
list = [list(map(int,input().split())) for _ in range(3)]  
ans = 0
for i in range(n):
  if i == 0:
    ans += list[1][i]
  else:
    ans += list[1][i]
    if list[0][i] == list[0][i-1]+1:
      ans += list[2][i-1]
print(ans)