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:
#!/usr/bin/env python3
# 606A_spheres.py - Codeforces.com/problemset/problem/606/A by Sergey 2015

import unittest
import sys

###############################################################################
# Spheres Class (Main Program)
###############################################################################


class Spheres:
    """ Spheres representation """

    def __init__(self, test_inputs=None):
        """ Default constructor """

        it = iter(test_inputs.split("\n")) if test_inputs else None

        def uinput():
            return next(it) if it else sys.stdin.readline().rstrip()

        # Reading a single line of multiple elements
        self.numa = list(map(int, uinput().split()))
        self.numb = list(map(int, uinput().split()))

        self.delta = [a - b for (a, b) in zip(self.numa, self.numb)]
        pos = [d // 2 for d in self.delta if d > 0]
        neg = [d for d in self.delta if d < 0]

        self.result = 1
        if sum(pos) + sum(neg) < 0:
            self.result = 0

    def calculate(self):
        """ Main calcualtion function of the class """

        return "Yes" if self.result else "No"

###############################################################################
# Unit Tests
###############################################################################


class unitTests(unittest.TestCase):

    def test_single_test(self):
        """ Spheres class testing """

        # Constructor test
        test = "4 4 0\n2 1 2"
        d = Spheres(test)
        self.assertEqual(d.numa, [4, 4, 0])
        self.assertEqual(d.numb, [2, 1, 2])
        self.assertEqual(d.delta, [2, 3, -2])

        # Sample test
        self.assertEqual(Spheres(test).calculate(), "Yes")

        # Sample test
        test = "5 6 1\n2 7 2"
        self.assertEqual(Spheres(test).calculate(), "No")

        # Sample test
        test = "3 3 3\n2 2 2"
        self.assertEqual(Spheres(test).calculate(), "Yes")

        # Time limit test
        # self.time_limit_test(5000)

    def time_limit_test(self, nmax):
        """ Timelimit testing """
        import random
        import timeit

        # Random inputs
        test = str(nmax) + " " + str(nmax) + "\n"
        numnums = [str(i) + " " + str(i+1) for i in range(nmax)]
        test += "\n".join(numnums) + "\n"
        nums = [random.randint(1, 10000) for i in range(nmax)]
        test += " ".join(map(str, nums)) + "\n"

        # Run the test
        start = timeit.default_timer()
        d = Spheres(test)
        calc = timeit.default_timer()
        d.calculate()
        stop = timeit.default_timer()
        print("\nTimelimit Test: " +
              "{0:.3f}s (init {1:.3f}s calc {2:.3f}s)".
              format(stop-start, calc-start, stop-calc))

if __name__ == "__main__":

    # Avoiding recursion limitaions
    sys.setrecursionlimit(100000)

    if sys.argv[-1] == "-ut":
        unittest.main(argv=[" "])

    # Print the result string
    sys.stdout.write(Spheres().calculate())