Problem: Carl is a beginner magician. He has a blue, b violet and c orange magic spheres. In one move he can transform two spheres of the same color into one sphere of any other color. To make a spell that has never been seen before, he needs at least x blue, y violet and z orange spheres. Can he get them (possible, in multiple actions)?

Input

The first line of the input contains three integers a, b and c (0 ≤ a, b, c ≤ 1 000 000) — the number of blue, violet and orange spheres that are in the magician's disposal.

The second line of the input contains three integers, x, y and z (0 ≤ x, y, z ≤ 1 000 000) — the number of blue, violet and orange spheres that he needs to get.

Output

If the wizard is able to obtain the required numbers of spheres, print "Yes". Otherwise, print "No".

Examples

Input

4 4 0
2 1 2


Output

Yes


Input

5 6 1
2 7 2


Output

No


Input

3 3 3
2 2 2


Output

Yes

Note

In the first sample the wizard has 4 blue and 4 violet spheres. In his first action he can turn two blue spheres into one violet one. After that he will have 2 blue and 5 violet spheres. Then he turns 4 violet spheres into 2 orange spheres and he ends up with 2 blue, 1 violet and 2 orange spheres, which is exactly what he needs.

Solution (in PYTHON3):

Solution:
# 606A
# θ(1) time
# θ(1) space

__author__ = 'artyom'


# SOLUTION

def main():
    a, b, c = read(3)
    x, y, z = read(3)
    if a < x:
        if b > y + 1:
            r = min(x - a, (b - y) // 2)
            a += r
            b -= 2 * r
        if a < x and c > z + 1:
            r = min(x - a, (c - z) // 2)
            a += r
            c -= 2 * r
    if b < y:
        if a > x + 1:
            r = min(y - b, (a - x) // 2)
            b += r
            a -= 2 * r
        if b < y and c > z + 1:
            r = min(y - b, (c - z) // 2)
            b += r
            c -= 2 * r
    if c < z:
        if a > x + 1:
            r = min(z - c, (a - x) // 2)
            c += r
            a -= 2 * r
        if c < z and b > y + 1:
            r = min(z - c, (b - y) // 2)
            c += r
            b -= 2 * r
    return 'Yes' if x <= a and y <= b and z <= c else 'No'


# HELPERS

def read(mode=1, size=None):
    # 0: String
    # 1: Integer
    # 2: List of strings
    # 3: List of integers
    # 4: Matrix of integers
    if mode == 0: return input().strip()
    if mode == 1: return int(input().strip())
    if mode == 2: return input().strip().split()
    if mode == 3: return list(map(int, input().strip().split()))
    a = []
    for _ in range(size):
        a.append(read(3))
    return a


def write(s="\n"):
    if s is None: s = ''
    if isinstance(s, tuple) or isinstance(s, list): s = ' '.join(map(str, s))
    s = str(s)
    print(s, end="\n")


write(main())