#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  long long cap[n], sum = 0;
  for (int i = 0; i < n; i++) {
    long long temp;
    cin >> temp;
    sum = sum + temp;
  }
  for (int i = 0; i < n; i++) {
    cin >> cap[i];
  }
  sort(cap, cap + n);
  if (cap[n - 1] + cap[n - 2] < sum)
    cout << "NO" << endl;
  else
    cout << "YES" << endl;
}
