#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, q;
  long a[100000], b[100000];
  long long s = 0, v1 = 0, v2 = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    s = s + a[i];
  }
  for (int i = 0; i < n; i++) {
    cin >> b[i];
    if (b[i] > v1) {
      v2 = v1;
      v1 = b[i];
    } else if (b[i] > v2)
      v2 = b[i];
  }
  if ((v1 + v2) >= s) {
    cout << "YES";
  } else
    cout << "NO";
}
