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