#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  long long int remaining = 0;
  long long int x;
  long long int first_largest = INT_MIN, second_largest = INT_MIN;
  for (int i = 0; i < n; i++) {
    cin >> x;
    remaining += x;
  }
  for (int i = 0; i < n; i++) {
    cin >> x;
    if (x >= first_largest) {
      second_largest = first_largest;
      first_largest = x;
    } else if (x >= second_largest) {
      second_largest = x;
    }
  }
  if (first_largest + second_largest >= remaining) {
    cout << "YES" << endl;
  } else
    cout << "NO" << endl;
}
