#include <bits/stdc++.h>
using namespace std;
int main() {
  long long N, A[20], B[20], C[20], count;
  cin >> N;
  for (int i = 0; i < (int)(N); i++) {
    cin >> A[i];
  }
  for (int i = 0; i < (int)(N); i++) {
    cin >> B[i];
  }
  for (int i = 0; i < (int)(N - 1); i++) {
    cin >> C[i];
  }
  for (int i = 0; i < (int)(N - 1); i++) {
    count += B[i];
    if (A[i + 1] - A[i] == 1) {
      count += C[i];
    }
  }
  count += B[N - 1];
  cout << count << endl;
}
