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 CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
template <class X>
class vec {
 public:
  X x, y;
  vec<X>(X a = 0, X b = 0) { x = a, y = b; }
  X dis(vec a) { return (x - a.x) * (x - a.x) + (y - a.y) * (y - a.y); }
  vec<X> operator-(vec<X> b) { return vec<X>(x - b.x, y - b.y); }
  X operator*(vec<X> b) { return x * b.y - y * b.x; }
};
void sf(int &x) { scanf("%d", &x); }
void sf(long long &x) { scanf("%lld", &x); }
void sf(long long &x, long long &y) { scanf("%lld%lld", &x, &y); }
void sf(float &x) { scanf("%f", &x); }
void sf(double &x) { scanf("%lf", &x); }
void sf(int &x, int &y) { scanf("%d%d", &x, &y); }
void sf(float &x, float &y) { scanf("%f%f", &x, &y); }
void sf(double &x, double &y) { scanf("%lf%lf", &x, &y); }
void sf(double &x, double &y, double &z) { scanf("%lf%lf%lf", &x, &y, &z); }
void sf(int &x, int &y, int &z) { scanf("%d%d%d", &x, &y, &z); }
void sf(long long &x, long long &y, long long &z) {
  scanf("%lld%lld%lld", &x, &y, &z);
}
void sf(float &x, float &y, float &z) { scanf("%u%u%u", &x, &y, &z); }
void sf(char &x) { x = getchar(); }
void sf(char *s) { scanf("%s", s); }
void sf(string &s) { cin >> s; }
void sf(vec<int> &x) {
  int a, b;
  sf(a, b);
  x = vec<int>(a, b);
}
void pf(int x) { printf("%d\n", x); }
void pf(int x, int y) { printf("%d %d\n", x, y); }
void pf(int x, int y, int z) { printf("%d %d %d\n", x, y, z); }
void pf(long long x) { printf("%lld\n", x); }
void pf(long long x, long long y) { printf("%lld %lld\n", x, y); }
void pf(long long x, long long y, long long z) {
  printf("%lld %lld %lld\n", x, y, z);
}
void pf(float x) { printf("%u\n", x); }
void pf(double x) { printf("%.9lf\n", x); }
void pf(double x, double y) { printf("%.5lf %.5lf\n", x, y); }
void pf(char x) { printf("%c\n", x); }
void pf(char *x) { printf("%s\n", x); }
void pf(string x) {
  cout << x;
  puts("");
}
void pf(vec<int> x) { printf("%d %d\n", x.x, x.y); }
long long STN(string s) {
  long long sm;
  stringstream ss(s);
  ss >> sm;
  return sm;
}
template <class T>
T bigmod(T b, T p, T m) {
  if (p == 0) return 1 % m;
  T x = b;
  T ans = 1;
  while (p) {
    if (p & 1) ans = (ans * x) % m;
    p >>= 1;
    x = (x * x) % m;
  }
  return ans;
}
template <class T>
T gcd(T x, T y) {
  if (y == 0) return x;
  return gcd(y, x % y);
}
template <typename T>
T POW(T b, T p) {
  if (p == 0) return 1;
  if (p == 1) return b;
  if (p % 2 == 0) {
    T s = POW(b, p / 2);
    return s * s;
  }
  return b * POW(b, p - 1);
}
template <typename T>
T modinv(T num, T m) {
  return bigmod(num, m - 2, m);
}
template <class T>
string NTS(T Number) {
  stringstream ss;
  ss << Number;
  return ss.str();
}
int a[5], b[5], c[5], d, e, f, g, h, i;
int main() {
  for (int i = 0; i < 3; i++) sf(a[i]);
  for (int i = 0; i < 3; i++) sf(b[i]);
  bool f = 1;
  for (int i = 0; i < 3; i++) {
    if (b[i] > a[i]) f = 0;
  }
  if (f) {
    pf("Yes");
    return 0;
  }
  for (int i = 0; i < 3; i++) {
    if (b[i] < a[i]) {
      int k = a[i] - b[i];
      if ((k & 1) && (a[i] > k)) k++;
      a[i] -= k;
      k /= 2;
      c[i] += k;
    }
  }
  for (int i = 0; i < 3; i++) {
    if (a[i] != b[i]) {
      int p = b[i] - a[i];
      int k = min(p, c[(i + 1) % 3]);
      a[i] += k;
      c[(i + 1) % 3] -= k;
    }
    if (a[i] != b[i]) {
      int p = b[i] - a[i];
      int k = min(p, c[(i + 2) % 3]);
      a[i] += k;
      c[(i + 2) % 3] -= k;
    }
  }
  for (int i = 0; i < 3; i++) {
    if (a[i] < b[i]) {
      pf("No");
      return 0;
    }
  }
  pf("Yes");
  return 0;
}