#include <bits/stdc++.h>
using namespace std;
int main() {
  string yes = "YES";
  string no = "NO";
  int n;
  cin >> n;
  vector<int> a(n);
  vector<int> b(n);
  for (int i = 0; i < n; ++i) cin >> a[i];
  long long totalRemaining = accumulate(a.begin(), a.end(), (long long)0);
  for (int i = 0; i < n; ++i) cin >> b[i];
  sort(b.rbegin(), b.rend());
  cout << ((b[0] + b[1] >= totalRemaining) ? yes : no);
  cout << endl;
  return 0;
}
