#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int A[N], B[N], C[N], memo = 0, result = 0;
  C[N - 1] = 0;
  for (int i = 0; i < N; i++) {
    cin >> A[i];
  }
  for (int i = 0; i < N; i++) {
    cin >> B[i];
    result += B[i];
  }
  for (int i = 0; i < N - 1; i++) {
    cin >> C[i];
    result += C[i];
  }
  cout << result - C[A[N - 1] - 1];
}
