#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i = 0;i<n;i++)

int main () {
  int N; cin >> N;
  vector<int> A, B, C;
  int ANS;
  int an
  
  rep(i,N){
    cin >> A[i];
  }
  an = A[N];
  
  rep(i,N){
    cin >> B[i];
    ANS += B[i];
  }
  
  rep(i,N-1){
    cin >> C[i];
    ANS += C[i];
  }
  ANS -= C[an];
  
  cout << ANS << endl;
}

  
  
