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