#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 7;
int a[N], b[N], n, i, x;
long long tot;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  for (cin >> n, i = 1; i <= n; ++i) cin >> x, tot += x;
  for (i = 1; i <= n; ++i) cin >> b[i];
  sort(b + 1, b + n + 1);
  cout << (b[n] + b[n - 1] >= tot ? "YES" : "NO") << endl;
  return 0;
}
