Chaneka has a hobby of playing with animal toys. Every toy has a different fun value, a real number. Chaneka has four boxes to store the toys with specification:   The first box stores toys with fun values in range of $(-\infty,-1]$.  The second box stores toys with fun values in range of $(-1, 0)$.  The third box stores toys with fun values in range of $(0, 1)$.  The fourth box stores toys with fun value in range of $[1, \infty)$. 

Chaneka has $A$, $B$, $C$, $D$ toys in the first, second, third, and fourth box, respectively. One day she decides that she only wants one toy, a super toy. So she begins to create this super toy by sewing all the toys she has.

While the number of toys Chaneka has is more than 1, she takes two different toys randomly and then sews them together, creating a new toy. The fun value of this new toy is equal to the multiplication of fun values of the sewn toys. She then puts this new toy in the appropriate box. She repeats this process until she only has one toy. This last toy is the super toy, and the box that stores this toy is the special box.

As an observer, you only know the number of toys in each box initially but do not know their fun values. You also don't see the sequence of Chaneka's sewing. Determine which boxes can be the special box after Chaneka found her super toy.


-----Input-----

The first line has an integer $T$ $(1 \le T \le 5 \cdot 10^4)$, the number of test cases.

Every case contains a line with four space-separated integers $A$ $B$ $C$ $D$ $(0 \le A, B, C, D \le 10^6, A + B + C + D > 0)$, which denotes the number of toys in the first, second, third, and fourth box, respectively.


-----Output-----

For each case, print four space-separated strings. Each string represents the possibility that the first, second, third, and fourth box can be the special box from left to right.

For each box, print "Ya" (Without quotes, Indonesian for yes) if that box can be the special box. Print "Tidak" (Without quotes, Indonesian for No) otherwise.


-----Example-----
Input
2
1 2 0 1
0 1 0 0

Output
Ya Ya Tidak Tidak
Tidak Ya Tidak Tidak



-----Note-----

For the first case, here is a scenario where the first box is the special box:   The first box had toys with fun values $\{-3\}$.  The second box had toys with fun values $\{ -0.5, -0.5 \}$  The fourth box had toys with fun values $\{ 3 \}$ 

The sewing sequence:   Chaneka sews the toy with fun $-0.5$ and $-0.5$ to a toy with fun $0.25$ and then put it in the third box.  Chaneka sews the toy with fun $-3$ and $0.25$ to a toy with fun $-0.75$ and then put it in the second box.  Chaneka sews the toy with fun $-0.75$ and $3$ to a toy with fun $-1.25$ and then put it in the first box, which then became the special box. 

Here is a scenario where the second box ends up being the special box:   The first box had toys with fun values $\{-3\}$  The second box had toys with fun values $\{ -0.33, -0.25 \}$.  The fourth box had toys with fun values $\{ 3 \}$. 

The sewing sequence:   Chaneka sews the toy with fun $-3$ and $-0.33$ to a toy with fun $0.99$ and then put it in the third box.  Chaneka sews the toy with fun $0.99$ and $3$ to a toy with fun $2.97$ and then put in it the fourth box.  Chaneka sews the toy with fun $2.97$ and $-0.25$ to a toy with fun $-0.7425$ and then put it in the second box, which then became the special box.  There is only one toy for the second case, so Chaneka does not have to sew anything because that toy, by definition, is the super toy.

Starter code:

Solutions:
t = int(input())
for _ in range(t):
  a, b, c, d = [int(i) for i in input().split(" ")]
  sgn = (a+b)%2
  small = False
  large = False
  if a == 0 and d == 0:
    small = True
  if b == 0 and c == 0:
    large = True
  okay = [True] * 4
  if sgn == 0:
    okay[0] = False
    okay[1] = False
  else:
    okay[2] = False
    okay[3] = False
  if small:
    okay[0] = False
    okay[3] = False
  if large:
    okay[1] = False
    okay[2] = False
  print(" ".join(["Ya" if okay[i] else "Tidak" for i in range(4)]))

t=int(input())
for you in range(t):
    l=input().split()
    a=int(l[0])
    b=int(l[1])
    c=int(l[2])
    d=int(l[3])
    z=a+b
    if(z%2==0):
        print("Tidak Tidak",end=" ")
        if(b>0 or c>0):
            print("Ya",end=" ")
        else:
            print("Tidak",end=" ")
        if(a>0 or d>0):
            print("Ya")
        else:
            print("Tidak")
    else:
        if(a>0 or d>0):
            print("Ya",end=" ")
        else:
            print("Tidak",end=" ")
        if(b>0 or c>0):
            print("Ya",end=" ")
        else:
            print("Tidak",end=" ")
        print("Tidak Tidak")

import sys

t = int(input())

for i in range(t):
    a1, a2, a3, a4  = list(map(int, input().split()))
    
    neg = (a1 + a2) % 2 == 1
    
    
    large =  (a1 == 0 and a4 == 0)
    small  = (a2 == 0 and a3 == 0)
    
    r1, r2, r3, r4 = True, True, True, True
    if(neg):
        r3, r4 = False, False
    else:
        r1, r2 = False, False
        
    if large:
        r1, r4 = False,False
        
    if small:
        r2, r3 = False, False
        
    res = ''
    for j in [r1, r2, r3, r4]:
        if (j):
            res += 'Ya '
        else:
            res += 'Tidak '
    
    print(res[:-1])    
        


from sys import stdin, stdout
from collections import defaultdict
input = stdin.readline

for _ in range(int(input())):
	a, b, c, d = map(int, input().split())
	small , large, positive = 0, 0, 1
	if a>0 or d>0:
		large = 1
	if b>0 or c>0:
		small = 1
	if (a+b)%2:
		positive = 0
	l = list()
	if large and not positive:
		l.append('Ya')
	else:
		l.append('Tidak')
	if small and not positive:
		l.append('Ya')
	else:
		l.append('Tidak')
	if small and positive:
		l.append('Ya')
	else:
		l.append('Tidak')
	if large and positive:
		l.append('Ya')
	else:
		l.append('Tidak')
	print(*l)

t = int(input())
for _ in range(t):
    a, b, c, d = list(map(int, input().split()))
    possible = ['Ya', 'Ya', 'Ya', 'Ya']
    if (a+b)%2 == 0:
        possible[0] = 'Tidak'
        possible[1] = 'Tidak'
    else:
        possible[2] = 'Tidak'
        possible[3] = 'Tidak'
    if (a+d) == 0:
        possible[0] = 'Tidak'
        possible[3] = 'Tidak'
    if (b+c) == 0:
        possible[1] = 'Tidak'
        possible[2] = 'Tidak'

    print(' '.join(possible))


t=int(input())
while(t>0):
    t=t-1
    l=input().split()
    a=int(l[0])
    b=int(l[1])
    c=int(l[2])
    d=int(l[3])
   # print(a,b,c,d)
    #for a
    if(a!=0):
        if((a+b)%2==1):
            print("Ya",end=" ")
        else:
            print("Tidak",end=" ")
    else:
        if(d>=1  and (a+b)%2==1):
            print("Ya",end=" ")
        else:
            print("Tidak",end=" ")
    if(b!=0):
        if((a+b)%2):
            print("Ya",end=" ")
        else:
            print("Tidak",end=" ")
    else:
        if(c>=1  and (a+b)%2==1):
            print("Ya",end=" ")
        else:
            print("Tidak",end=" ")
    if(c!=0):
        if((a+b)%2==0):
            print("Ya",end=" ")
        else:
            print("Tidak",end=" ")
    else:
        if(b>=1  and (a+b)%2==0):
            print("Ya",end=" ")
        else:
            print("Tidak",end=" ")
    if(d!=0):
        if((a+b)%2==0):
            print("Ya",end=" ")
        else:
            print("Tidak",end=" ")
    else:
        if(a>=1  and (a+b)%2==0):
            print("Ya",end=" ")
        else:
            print("Tidak",end=" ")
    print()

for _ in range(int(input())):
    a,b,c,d=list(map(int,input().split()))
    if (a+b)%2==0:
        if (b!=0 or c!=0) and (a!=0 or d!=0):
            print("Tidak Tidak Ya Ya")
        elif d!=0 or a!=0:
            print("Tidak Tidak Tidak Ya")
        elif b!=0 or c!=0:
            print("Tidak Tidak Ya Tidak")
    else:
        if (b!=0 or c!=0) and (a!=0 or d!=0):
            print("Ya Ya Tidak Tidak")
        elif d!=0 or a!=0:
            print("Ya Tidak Tidak Tidak")
        elif b!=0 or c!=0:
            print("Tidak Ya Tidak Tidak")
    
            



t = int(input())
for i in range(t):
    a, b, c, d = list(map(int, input().split()))
    ans = ['Tidak', 'Tidak', 'Tidak', 'Tidak']
    if ((a + b) % 2 == 1) and ((a + d) > 0):
        ans[0] = 'Ya'
    if ((a + b) % 2 == 1) and (((a + d) == 0) or ((b + c) > 0)):
        ans[1] = 'Ya'
    if ((a + b) % 2 == 0) and (((a + d) == 0) or ((b + c) > 0)):
        ans[2] = 'Ya'
    if ((a + b) % 2 == 0) and ((a + d) > 0):
        ans[3] = 'Ya'
    print(' '.join(ans))