#include <bits/stdc++.h>
int main() {
  int N, n;
  std::vector<int> A, B, C;
  long total = 0;
  std::cin >> N;
  A.resize(N);
  B.resize(N);
  C.resize(N);
  for (int i = 0; i < N; i++) {
    std::cin >> n;
    A.at(i) = n;
  }
  for (int i = 0; i < N; i++) {
    std::cin >> n;
    B.at(i) = n;
  }
  for (int i = 0; i < N - 1; i++) {
    std::cin >> n;
    C.at(i) = n;
  }
  for (int i = 0; i < N; i++) {
    total += B.at(i);
    if (i < N - 1) {
      if (A.at(i) + 1 == A.at(i + 1)) {
        total += C.at(i);
      }
    }
  }
  std::cout << total << std::endl;
}
