#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, max1 = 0, max2 = 0, vol, cap, i;
  long long s = 0;
  cin >> n;
  for (i = 1; i <= n; i++) {
    cin >> vol;
    s += vol;
  }
  for (i = 1; i <= n; i++) {
    cin >> cap;
    if (cap > max1) {
      max2 = max1;
      max1 = cap;
    } else if (cap > max2)
      max2 = cap;
  }
  if (s <= max1 + max2)
    cout << "YES";
  else
    cout << "NO";
}
