#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ii = pair<int, int>;
int main() {
  ios::sync_with_stdio(0);
  int n;
  cin >> n;
  vector<int> vs(n);
  for (auto &x : vs) cin >> x;
  int l = vs[n - 1];
  int ans = 0;
  for (auto &x : vs) cin >> x, ans += x;
  for (int i = 1; i < n; ++i) {
    cin >> vs[i];
    if (l != i) ans += vs[i];
  }
  cout << ans << endl;
}
