#include <bits/stdc++.h>
using namespace std;
inline int toInt(string s) {
  int v;
  istringstream sin(s);
  sin >> v;
  return v;
}
template <class T>
inline string toString(T x) {
  ostringstream sout;
  sout << x;
  return sout.str();
}
const double EPS = 1e-9;
const double PI = acos(-1.0);
const int INT_INF = 2147483647;
const long long LL_INF = 1LL << 60;
const long long MOD = 1000000007;
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
int main(void) {
  int N;
  cin >> N;
  vector<int> A(N), B(N), C(N - 1);
  int ans = 0;
  for (int i = (0); i < (N); ++i) cin >> A[i];
  for (int i = (0); i < (N); ++i) {
    cin >> B[i];
    ans += B[i];
  }
  for (int i = (0); i < (N - 1); ++i) cin >> C[i];
  for (int i = (0); i < (N - 1); ++i) {
    if (A[i + 1] - A[i] == 1) {
      ans += C[i];
    }
  }
  cout << ans << endl;
  return 0;
}
