#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  int V = 0;
  vector<int> v(n);
  for (int i = 0; i < n; ++i) {
    cin >> v[i];
  }
  int ch;
  priority_queue<int> h;
  for (int i = 0; i < n; ++i) {
    cin >> ch;
    h.push(ch);
  }
  V += h.top();
  h.pop();
  V += h.top();
  for (int i = 0; i < n; ++i) {
    V -= v[i];
    if (V < 0) break;
  }
  if (V >= 0)
    cout << "YES";
  else
    cout << "NO";
  return 0;
}
