This is a peculiar functioning setup.
Two Tanks are separated from each other by a wall .There is a pipe in the wall which connects  both tanks  which allows flow of water between them . Due to this ,there is change in temperature of both tanks , every minute temperature of Tank with larger temperature among two decreases by one and temperature of Tank  with smaller temperature among two increases by two until equilibrium is reached , But there is a problem .
The pipe can't control this flow of water if there is Non-equilibrium (inequality of temperature  on  both sides )  even after $m$ minutes and the pipe will burst after it , your task is to predict whether the pipe will burst or not .
Note: If equilibrium cannot be reached the process will continue forever.
The initial temperature of Cold Tank is $Tc$ , of Hot Tank it is $Th$. 

-----Input:-----
- First line will contain $T$, number of testcases. Then the testcases follow. 
- Each testcase contains of a single line of input, three  integers $m, Tc,Th$. 

-----Output:-----
For each testcase, output in a single line answer "Yes" if Pipe will burst after m minutes "No" if pipe will not burst.

-----Constraints-----
- $1 \leq T \leq 100000$
- $1 \leq m,Tc,Th \leq 10^9$
- $Tc \leq Th $

-----Sample Input:-----
2
4 5 10
2 2 5

-----Sample Output:-----
Yes
No

Starter code:

Solutions:
for i in range(int(input())):
 m,tc,th=map(int,input().split())
 x=(th-tc)
 if x%3!=0:
  print("Yes")
 else:
  if (x//3)<=m:
   print("No")
  else:
   print("Yes")

T = int(input())
for _ in range(T):
 m, Tc, Th = list(map(int, input().split()))
 if (Th - Tc) % 3 != 0:
  print("Yes")
 else:
  if (Th - Tc)//3 <= m:
   print("No")
  else:
   print("Yes")

# cook your dish here
try:
 T = int(input())
 while T!=0:
  l = list(map(int, input().split()))
  m = l[0]
  tc = l[1]
  th = l[2]
  flag = False
  if (th-tc)%3!=0:
   print("Yes")
  else:
   if (th-tc)//3<=m:
    print("No")
   else:
    print("Yes")
  T-=1
except:
 pass

# cook your dish here
try:
 t=int(input())
 for _ in range(t):
  m,a,b=map(int,input().split())
  if (b-a)%3==0 and(b-a)/3<=m :
   print("No")
  else:
   print("Yes")
   
except:
 pass

# cook your dish here
for _ in range(int(input())):
 m,t1,t2=map(int,input().split())
 d=max(t1,t2)-min(t1,t2)
 if(d%3!=0):
  print('Yes')
 else:
  if(d//3>m):
   print('Yes')
  else:
   print('No')

# cook your dish here
t=int(input())
while t:
 m,c,h=input().split()
 m=int(m)
 c=int(c)
 h=int(h)
 
 x=abs(c-h)
 
 if(x%3!=0):
  print("Yes")
 
 else:
  if(x//3>m):
   print("Yes")
  else:
   print("No")
  
 t-=1

t = int(input())
for _ in range(t):
 m, c, h = map(int, input().split())
 if((h-c) % 3 == 0):
  if((h-c) // 3 <= m):
   print("No")
  else:
   print("Yes")
 else:
  print("Yes")

import atexit
import io
import sys
import math
from collections import defaultdict,Counter

# _INPUT_LINES = sys.stdin.read().splitlines()
# input = iter(_INPUT_LINES).__next__
# _OUTPUT_BUFFER = io.StringIO()
# sys.stdout = _OUTPUT_BUFFER

# @atexit.register
# def write():
#     sys.__stdout__.write(_OUTPUT_BUFFER.getvalue())

# sys.stdout=open("CP2/output.txt",'w')
# sys.stdin=open("CP2/input.txt",'r')

# m=pow(10,9)+7
t=int(input())
for i in range(t):
 m,c,h=map(int,input().split())
 if (h-c)%3==0 and (h-c)//3 <=m:
  print("No")
 else:
  print("Yes")

# cook your dish here
t=int(input())
while t:
 m,c,h=input().split()
 m=int(m)
 c=int(c)
 h=int(h)
 
 x=abs(c-h)
 
 if(x%3!=0):
  print("Yes")
 
 else:
  if(x//3>m):
   print("Yes")
  else:
   print("No")
  
 t-=1

import atexit
import io
import sys
import math
from collections import defaultdict,Counter

# _INPUT_LINES = sys.stdin.read().splitlines()
# input = iter(_INPUT_LINES).__next__
# _OUTPUT_BUFFER = io.StringIO()
# sys.stdout = _OUTPUT_BUFFER

# @atexit.register
# def write():
#     sys.__stdout__.write(_OUTPUT_BUFFER.getvalue())

# sys.stdout=open("CP2/output.txt",'w')
# sys.stdin=open("CP2/input.txt",'r')

# m=pow(10,9)+7
t=int(input())
for i in range(t):
 m,c,h=map(int,input().split())
 if (h-c)%3==0 and (h-c)//3 <=m:
  print("No")
 else:
  print("Yes")

# cook your dish here
for i in range(int(input())):
 m,tc,th = [int(num) for num in input().split()]
 if th==tc:
  print('No')
 elif (th-tc)%3==0 and ((th-tc)//3)<=m:
  print('No')
 else:
  print('Yes')


try:
 for _ in range(int(input())):
  m,t1,t2=map(int,input().split())
  t=t2-t1
  if(t%3==0):
   if(m>=(t//3)):
    print("No")
   else:
    print("Yes")
  else:
   print("Yes")
except EOFError as e:
 pass

# cook your dish here
for i in range(int(input())):
 m,tc,th = [int(num) for num in input().split()]
 if th==tc:
  print('No')
 elif (th-tc)%3==0 and ((th-tc)//3)<=m:
  print('No')
 else:
  print('Yes')


t=int(input())
for _ in range(t):
 m,t1,t2=map(int,input().split())
 x=abs(t1-t2)
 if x%3==0 and x//3<=m:
  print("No")
 else:
  print("Yes")

import math
t_c = int(input())
for _ in range(t_c):
 m, tc, th = [int(x) for x in input().split(" ")]
 temp = (th-tc)/3
 if len(str(temp).split(".")[1]) <= 5:
  if math.ceil(temp) <= m:
   print("No")
  else:
   print("Yes")
 else:
  print("Yes")


# cook your dish here
for _ in range(int(input())):
 m,a,b=map(int,input().split())
 mins=abs(a-b)//3
 step=abs(a-b)%3
 if(step==0):
  if(mins<=m):
   print('No')
  else:
   print('Yes')
 else:
  print('Yes')

try:
 for _ in range(int(input())):
  m,t1,t2=list(map(int,input().split()))
  t=t2-t1
  if(t%3==0):
   if(m>=(t//3)):
    print("No")
   else:
    print("Yes")
  else:
   print("Yes")
except EOFError as e:
 pass


# cook your dish here
t=int(input())
for i in range(t):
 inp=input()
 m,tc,th=inp.split()
 m=int(m)
 tc=int(tc)
 th=int(th)
 diff=th-tc
 if(diff==0):
  print("No")
 if(diff>0):
  if(diff%3==0 and (diff/3)<=m):
   print("No")
  else:
   print("Yes")


try:
 for _ in range(int(input())):
  m,t1,t2=list(map(int,input().split()))
  t=t2-t1
  if(t%3==0):
   if(m>=(t//3)):
    print("No")
   else:
    print("Yes")
  else:
   print("Yes")
except EOFError as e:
 pass


for _ in range(int(input())):
 m,t1,t2=map(int,input().split());f=0;a,b=t1,t2
 c=(t2-t1)/3
 if c==int(c) and c<=m:
  print('No')
 else:
  print('Yes')

for _ in range(int(input())):
 m,c,h=(list(map(int,input().split())))
 if c+ 2*m < h- m:
  print('Yes')
 elif h==c:
  print('No')
 else:
  diff = h - c
  if (h-c)%3==0:
   if (h-c)//3<=m:
    print('No')
   else:
    print('Yes')
  else:
   print('Yes')
   


# cook your dish here
for i in range(int(input())):
 m,a,b=list(map(int,input().split()))
 d=abs(a-b)
 if d%3==0 and d/3<=m:
  print("No")
 else:
  print("Yes")


t = int(input())
while t>0:

 m, tc, th = map(int, input().split())

 if (th - tc) % 3 == 0:
  if (th-tc) // 3 <= m:
   print('No')
  else:
   print('Yes')
 else:
  print('Yes')

 t-=1

t=int(input())
flag=0
for i in range(t):
 m,tc,th=map(int,input().split())
 
 # for j in range(m):
 #     tc+=2
 #     th-=1
 #     if(tc==th):
 #         flag=1
 #         print('No')
 #         break
 #     if(tc>th):
 #         flag=0
 #         break
  
 # if(flag==0):
 #     print('Yes')
 new_m=(th-tc)/3
 m2=int(new_m)
 if(new_m<=m and new_m==m2):
  print('No')
 else:
  print('Yes')