#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int old = 99, i, n, a[50], b[50], c[50], sum = 0, cnt;
  cin >> n;
  for (i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] - old == 1) cnt++;
    old = a[i];
  }
  for (i = 0; i < n; i++) {
    cin >> b[i];
    sum += b[i];
  }
  for (i = 0; i < n - 1; i++) {
    cin >> c[i];
  }
  for (i = 0; i < cnt; i++) {
    sum += c[i];
  }
  cout << sum;
}
