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