#include <bits/stdc++.h>
using namespace std;
long long n, s;
int main() {
  cin >> n;
  vector<long long> a(n), b(n);
  vector<pair<int, int>> c(n);
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    s += a[i];
  }
  for (int j = 0; j < n; j++) {
    cin >> b[j];
    c[j].first = b[j] - a[j];
    c[j].second = j;
  }
  sort(b.begin(), b.end());
  if (b[n - 1] + b[n - 2] >= s)
    cout << "YES";
  else
    cout << "NO";
  return 0;
}
