#include <bits/stdc++.h>
using namespace std;
int n;
long long int v[1000001], l, c;
bool comp(int a, int b) { return a > b; }
int main() {
  cin >> n;
  for (int x = 0; x < n; x++) {
    cin >> l;
    c += l;
  }
  for (int x = 0; x < n; x++) {
    cin >> v[x];
  }
  sort(v, v + n, comp);
  if (v[0] + v[1] >= c) {
    cout << "YES";
  } else {
    cout << "NO";
  }
}
