#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 100;
struct Cola {
  long long volume;
  long long capacity;
};
Cola cola[maxn];
bool cmp(Cola a, Cola b) { return a.capacity > b.capacity; }
int main() {
  int n;
  cin >> n;
  long long sumV = 0;
  for (int i = 0; i < n; i++) {
    cin >> cola[i].volume;
    sumV += cola[i].volume;
  }
  for (int i = 0; i < n; i++) cin >> cola[i].capacity;
  sort(cola, cola + n, cmp);
  long long sumC = cola[0].capacity + cola[1].capacity;
  if (sumV <= sumC) {
    cout << "YES" << endl;
  } else {
    cout << "NO" << endl;
  }
  return 0;
}
