#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a[n];
  for (int i = 0; i < n; i++) cin >> a[i];
  int b[n];
  for (int j = 0; j < n; j++) cin >> b[j];
  int c[n - 1];
  for (int k = 0; k < n - 1; k++) cin >> c[k];
  int sum = 0;
  for (int l = 0; l < n; l++) {
    if (l == 0) {
      sum += b[l];
    } else if (a[l] == (n - 1)) {
      sum += b[l];
    } else {
      sum += b[l] + c[l - 1];
    }
  }
  cout << sum << endl;
}
