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