#include <bits/stdc++.h>
int main() {
  int n, a[100010], b[100010], i, max1 = 0, max2 = 0, k;
  long long sum = 0;
  scanf("%d", &n);
  for (i = 0; i < n; i++) {
    scanf("%d", &a[i]);
    sum += a[i];
  }
  for (i = 0; i < n; i++) {
    scanf("%d", &b[i]);
    if (max1 < b[i]) {
      max1 = b[i];
      k = i;
    }
  }
  for (i = 0; i < n; i++) {
    if (max2 < b[i] && k != i) max2 = b[i];
  }
  if (sum > (max1 + max2))
    printf("NO");
  else
    printf("YES");
  return 0;
}
