#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, n, a[100000], b[100000], max1, max2;
  long long sum;
  cin >> n;
  ;
  for (int i = 0; i < n; i++) cin >> a[i];
  ;
  for (int i = 0; i < n; i++) cin >> b[i];
  if (n == 2)
    cout << "yes";
  else {
    max1 = max2 = 0;
    ;
    for (int i = 0; i < n; i++) {
      if (b[i] > max1) {
        max2 = max1;
        max1 = b[i];
      } else if (b[i] > max2 && b[i] != max1)
        max2 = b[i];
    }
    int m = max1 + max2;
    if (m == max1) m = max1 + max1;
    sum = 0;
    ;
    for (int i = 0; i < n; i++) {
      sum += a[i];
    }
    if (sum > m)
      cout << "NO";
    else
      cout << "YES";
  }
  return 0;
}
