#include <bits/stdc++.h>
typedef struct {
  int len;
  unsigned long long cap[100000];
  unsigned long long vol[100000];
} cans;
void read_elements(cans* a) {
  int i;
  for (i = 0; i < a->len; i++) {
    scanf("%llu", &a->vol[i]);
  }
  for (i = 0; i < a->len; i++) {
    scanf("%llu", &a->cap[i]);
  }
}
unsigned long long array_max2add(int len, unsigned long long* dat) {
  unsigned long long max1 = 0;
  unsigned long long max2 = 0;
  int i;
  for (i = 0; i < len; i++) {
    unsigned long long c = dat[i];
    if (c >= max1) {
      max2 = max1;
      max1 = c;
    } else if (c > max2) {
      max2 = c;
    }
  }
  return max1 + max2;
}
unsigned long long array_sum(int len, unsigned long long arr[]) {
  unsigned long long sum = 0;
  int i;
  for (i = 0; i < len; i++) {
    sum += arr[i];
  }
  return sum;
}
int simulate(cans* a) {
  unsigned long long cap = array_max2add(a->len, a->cap);
  unsigned long long sum = array_sum(a->len, a->vol);
  return cap >= sum;
}
int main(int argc, char* argv[]) {
  cans c = {};
  scanf("%i", &c.len);
  read_elements(&c);
  int exit_state = simulate(&c);
  printf("%s\n", exit_state ? "YES" : "NO");
  return EXIT_SUCCESS;
}
