#include<bits/stdc++.h>
#define ll long long
#define maxn 1000005
using namespace std;
inline ll read()
{
char ch=getchar();
ll x=0,f=1;
while(ch<'0'||ch>'9')
{
if(ch=='-')f=-1;
ch=getchar();
}
while(ch>='0'&&ch<='9')
{
x=x*10+ch-'0';
ch=getchar();
}
return x*f;
}
int main(){
ll t=read();
while (t--)
{
ll a=read(),b=read(),c=read(),x=read(),y=read(),z=read();
ll s=0;
if (a>x+1) s+=(a-x)/2;
if (b>y+1) s+=(b-y)/2;
if (c>z+1) s+=(c-z)/2;
if (a<x) s-=x-a;
if (b<y) s-=y-b;
if (c<z) s-=z-c;
if (s>=0)printf("YES\n");
else printf("NO\n");
}
}
#define ll long long
#define maxn 1000005
using namespace std;
inline ll read()
{
char ch=getchar();
ll x=0,f=1;
while(ch<'0'||ch>'9')
{
if(ch=='-')f=-1;
ch=getchar();
}
while(ch>='0'&&ch<='9')
{
x=x*10+ch-'0';
ch=getchar();
}
return x*f;
}
int main(){
ll t=read();
while (t--)
{
ll a=read(),b=read(),c=read(),x=read(),y=read(),z=read();
ll s=0;
if (a>x+1) s+=(a-x)/2;
if (b>y+1) s+=(b-y)/2;
if (c>z+1) s+=(c-z)/2;
if (a<x) s-=x-a;
if (b<y) s-=y-b;
if (c<z) s-=z-c;
if (s>=0)printf("YES\n");
else printf("NO\n");
}
}