#include <bits/stdc++.h>
int main() {
  int n;
  std::cin >> n;
  std::vector<int> a, b, c;
  int temp;
  for (int i = 0; i < n; ++i) {
    std::cin >> temp;
    a.push_back(temp);
  }
  for (int i = 0; i < n; ++i) {
    std::cin >> temp;
    b.push_back(temp);
  }
  for (int i = 0; i < n - 1; ++i) {
    std::cin >> temp;
    c.push_back(temp);
  }
  long satis = 0;
  for (auto i : b) satis += i;
  for (int i = 0; i < n - 1; ++i)
    if (a[i] + 1 == a[i + 1]) satis += c[i];
  std::cout << satis << std::endl;
  return 0;
}
