Jafar has *n* cans of cola. Each can is described by two integers: remaining volume of cola *a*<sub class="lower-index">*i*</sub> and can's capacity *b*<sub class="lower-index">*i*</sub> (*a*<sub class="lower-index">*i*</sub>  ≤  *b*<sub class="lower-index">*i*</sub>).

Jafar has decided to pour all remaining cola into just 2 cans, determine if he can do this or not!
The first line of the input contains one integer *n* (2 ≤ *n* ≤ 100 000) — number of cola cans.

The second line contains *n* space-separated integers *a*<sub class="lower-index">1</sub>, *a*<sub class="lower-index">2</sub>, ..., *a*<sub class="lower-index">*n*</sub> (0 ≤ *a*<sub class="lower-index">*i*</sub> ≤ 10<sup class="upper-index">9</sup>) — volume of remaining cola in cans.

The third line contains *n* space-separated integers that *b*<sub class="lower-index">1</sub>, *b*<sub class="lower-index">2</sub>, ..., *b*<sub class="lower-index">*n*</sub> (*a*<sub class="lower-index">*i*</sub> ≤ *b*<sub class="lower-index">*i*</sub> ≤ 10<sup class="upper-index">9</sup>) — capacities of the cans.
In the first sample, there are already 2 cans, so the answer is "YES".
2
3 5
3 6
YES
3
6 8 9
6 10 12
NO
5
0 0 5 0 0
1 1 8 10 5
YES
4
4 1 0 3
5 2 2 3
YES
10
9 10 24 11 1 7 8 3 28 14
86 20 34 11 22 94 8 16 73 85
YES
4
25 35 7 31
70 37 43 35
YES
10
15 26 15 14 14 39 40 4 25 39
27 72 16 44 69 48 53 17 63 42
NO
5
22 5 19 16 32
26 10 43 38 37
NO
5
32 4 22 40 26
39 20 36 98 44
YES
6
18 25 3 10 13 37
38 73 19 35 24 37
YES
2
2 2
2 2
YES
2
2 5
2 5
YES
2
1000 1008
10000 2352
YES
5
1 2 3 4 5
1 2 3 4 11
YES
4
1 0 0 0
2 0 0 0
YES
2
0 0
1 2
YES
3
9 13 4
10 14 5
NO
2
0 0
1 1
YES
5
1 1 2 3 1
1 1 2 3 4
NO
2
0 0
0 0
YES
3
5 1 1
5 5 5
YES
# n = int(input())
# words = [input() for i in range(n)]
# def shorter(word):
#     if len(word) <= 10:
#         return word
#     else:
#         return word[0] + str(len(word)-2) + word[-1]

# for i in words:
#     print(shorter(i))


# n = int(input())
# sol = [input().split(" ") for i in range(n)]
# soln = 0
# for item in sol:
#     if item.count("1")>=2:
#         soln += 1
# print(soln)


# n, k = input().split(" ")
# score = input().split(" ")
# count = 0
# for i in score:
#     if int(i) >= int(score[int(k) - 1]) and int(i) != 0:
#         count+=1
# print(count)


# m, n = list(map(int,input().split(" ")))
# print(m*n//2)

# from functools import reduce
# n = int(input())
# ops = [input() for i in range(n)]
# def operation_(op):
#     x = 0
#     if op.find("++") != -1:
#         x += 1
#     elif op.find("--") != -1:
#         x -= 1
#     return x
# print(sum(list(map(operation_, ops))))


# idx = [input().split() for i in range(5)]
# row = 0
# col = 0
# for id in idx:
#     row += 1
#     try:
#         col = id.index("1") + 1
#         break
#     except:
#         pass
# print(abs(3-row)+abs(3-col))


# s1 = input().lower().split(" ")
# s2 = input().lower().split(" ")
# if s1 != s2:
#     for a, b in zip(s1, s2):
#         if a == b:
#             continue
#         else:
#             if a < b:
#                 print(-1)
#             elif a > b:
#                 print(1)
# else:
#     print(0)


# s = sorted(input().split('+'))
# for num in s[:-1]:
#     print(num, end="")
#     print("+", end="")
# print(s[-1])


# A. Word Capitalization
# wprd = input()
# print(wprd[0].upper()+wprd[1:])


# A. Boy or Girl
# name = input()
# username = [i for i in name]
# username = list(set(username))
# try:
#     username.remove(" ")
# except:
#     pass
# unq = len(username)
# if unq%2 == 0:
#     print("CHAT WITH HER!")
# elif unq%2 == 1:
#     print("IGNORE HIM!")


# Stones on the Table
# n = int(input())
# s = [i for i in input()]
# main_count = 0
# while True:
#     try:
#         for i in range(len(s)):
#             if s[i] == s[i+1]:
#                 main_count += 1
#                 s.remove(s[i])
#     except:
#         pass
#     count = 0
#     for i in range(len(s)):
#             try:
#                 if s[i] == s[i+1]:
#                     count += 1
#             except:
#                 pass
#     if count == 0:
#         break
# print(main_count)


#Bear and Big Brother
# a, b = list(map(int, input().split(" ")))
# def time_needed(a, b):
#     t = 0
#     a1 = a
#     b1 = b
#     while a1<=b1:
#         a1 = a1*3
#         b1 = b1*2
#         t += 1
#     return t
# print(time_needed(a, b))


#Soldier and Bananas
# k, n, w = list(map(int, input().split(" ")))
# price = k*((w*(w+1))/2)
# if price<=n:
#     print(0)
# else:
#     print(int(abs(n-price)))

#Greed
n = int(input())
rem = list(map(int,input().split()))
cap = sum((sorted(list(map(int,input().split()))))[-2:])
if sum(rem)<=cap:
    print("YES")
else:
    print("NO")