#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  long long remaining[n + 10], capacity[n + 10], total = 0;
  for (int i = 0; i < n; i++) {
    cin >> remaining[i];
    total += remaining[i];
  }
  long long max1 = 0, max2 = 0;
  for (int i = 0; i < n; i++) {
    cin >> capacity[i];
    if (capacity[i] > max1 && capacity[i] > max2) {
      max2 = max1;
      max1 = capacity[i];
    } else if (capacity[i] > max2)
      max2 = capacity[i];
  }
  long long sz = max1 + max2;
  if (sz < total)
    cout << "NO"
         << "\n";
  else
    cout << "YES"
         << "\n";
  return 0;
}
