Chef is the judge of a competition. There are two players participating in this competition — Alice and Bob.
The competition consists of N races. For each i (1 ≤ i ≤ N), Alice finished the i-th race in Ai minutes, while Bob finished it in Bi minutes. The player with the smallest sum of finish times wins. If this total time is the same for Alice and for Bob, a draw is declared.
The rules of the competition allow each player to choose a race which will not be counted towards their total time. That is, Alice may choose an index x and her finish time in the race with this index will be considered zero; similarly, Bob may choose an index y and his finish time in the race with this index will be considered zero. Note that x can be different from y; the index chosen by Alice does not affect Bob's total time or vice versa.
Chef, as the judge, needs to announce the result of the competition. He knows that both Alice and Bob play optimally and will always choose the best option. Please help Chef determine the result!

-----Input-----
- The first line of the input contains a single integer T denoting the number of test cases. The description of T test cases follows.
- The first line of each test case contains a single integer N.
- The second line contains N space-separated integers A1, A2, ..., AN.
- The third line contains N space-separated integers B1, B2, ..., BN.

-----Output-----
For each test case, print a single line containing the string "Alice" if Alice wins, "Bob" if Bob wins or "Draw" if the result is a draw (without quotes).

-----Constraints-----
- 1 ≤ T ≤ 100
- 2 ≤ N ≤ 100
- 1 ≤ Ai ≤ 1000 for each valid i
- 1 ≤ Bi ≤ 1000 for each valid i

-----Example-----
Input:

3
5
3 1 3 3 4
1 6 2 5 3
5
1 6 2 5 3
3 1 3 3 4
3
4 1 3
2 2 7

Output:

Alice
Bob
Draw

-----Explanation-----
Example case 1: Alice will choose the finish time in the last race to be considered zero, which means her sum of finish times is 3 + 1 + 3 + 3 + 0 = 10, while Bob will choose the finish time of his second race to be considered zero, so his total sum of finish times is 1 + 0 + 2 + 5 + 3 = 11. Since Alice's sum is smaller, she is considered the winner.
Example case 2: We're dealing with the same situation as in the previous case, but finish times for the players are swapped, so Bob wins this time.
Example case 3: Alice will choose the finish time of the first race to be considered zero, which means her total time is 0 + 1 + 3 = 4. Bob will choose the finish time of his last race to be considered zero, which makes his total time 2 + 2 + 0 = 4. The competition is considered a draw because both players have equal sums of finish times.

Starter code:

Solutions:
# cook your dish here
for i in range(int(input())):
 N=int(input())
 ALICE=list(map(int,input().split()))
 BOB=list(map(int,input().split()))
 ALICE[ALICE.index(max(ALICE))]=0
 BOB[BOB.index(max(BOB))]=0
 if sum(ALICE)<sum(BOB):
  print("Alice")
 elif sum(BOB)<sum(ALICE):
  print("Bob")
 else:
  print("Draw")

# cook your dish here
for i in range(int(input())):
 N=int(input())
 ALICE=list(map(int,input().split()))
 BOB=list(map(int,input().split()))
 ALICE[ALICE.index(max(ALICE))]=0
 BOB[BOB.index(max(BOB))]=0
 if sum(ALICE)<sum(BOB):
  print("Alice")
 elif sum(BOB)<sum(ALICE):
  print("Bob")
 else:
  print("Draw")

# cook your dish here
for i in range(int(input())):
 N=int(input())
 ALICE=list(map(int,input().split()))
 BOB=list(map(int,input().split()))
 ALICE[ALICE.index(max(ALICE))]=0
 BOB[BOB.index(max(BOB))]=0
 if sum(ALICE)<sum(BOB):
  print("Alice")
 elif sum(BOB)<sum(ALICE):
  print("Bob")
 else:
  print("Draw")

t=int(input())
for k in range(t):
 n=int(input())
 a=input().split()
 b=input().split()
 for j in range(n):
  a[j]=int(a[j])
  b[j]=int(b[j])
 a.remove(max(a))
 b.remove(max(b))
 s1=sum(a)
 s2=sum(b)
 if (s1>s2):
  print("Bob")
 elif (s2>s1):
  print("Alice")
 else:
  print("Draw")

t=int(input())
for i in range(t):
 n=int(input())
 a=list(map(int,input().split()))
 b=list(map(int,input().split()))
 x=max(a)
 y=max(b)
 a.remove(x)
 b.remove(y)
 suma=0
 sumb=0
 for i in a:
  suma=suma+i
 for i in b:
  sumb=sumb+i
 if suma<sumb:
  print("Alice")
 elif suma>sumb:
  print("Bob")
 else:
  print("Draw")


# cook your dish here
T=int(input())
for i in range(T):
 n=int(input())
 a=list(map(int,input().split()))
 b=list(map(int,input().split()))
 x=max(a)
 y=max(b)
 a.remove(x)
 b.remove(y)
 suma=0
 sumb=0
 for i in a:
  suma=suma+i
 for i in b:
  sumb=sumb+i
 if suma<sumb:
  print("Alice")
 elif suma>sumb:
  print("Bob")
 else:
  print("Draw")

t=int(input())
while t>0:
 n=int(input())
 a=list(map(int,input().split()))
 b=list(map(int,input().split()))
 a.sort()
 a.pop()
 b.sort()
 b.pop()
 al=sum(a)
 bob=sum(b)
 if(al<bob):
  print('Alice')
 elif(al==bob):
  print('Draw')
 else:
  print('Bob')
 t=t-1

# cook your dish here
def alice_bob(alice, bob):
 alice.remove(max(alice))
 bob.remove(max(bob))
 result_alice = 0
 result_bob = 0
 result_alice += sum(alice)
 result_bob += sum(bob)
 if result_alice > result_bob:
  return 'Bob'
 elif result_alice < result_bob:
  return 'Alice'
 elif result_bob == result_alice:
  return 'Draw'


T = int(input())
for i in range(T):
 N = int(input())
 # for j in range(2):
 alice = list(map(int, input().split()))
 bob = list(map(int, input().split()))
 print(alice_bob(alice, bob))

  


# cook your dish here
for _ in range(int(input())):
 c = int(input())
 a = list(map(int,input().split()))
 b = list(map(int,input().split()))
 a = sum(a) - max(a)
 b = sum(b) - max(b)
 if a<b:
  print("Alice")
 elif a>b:
  print("Bob")
 else:
  print("Draw")

# cook your dish here
for i in range(int(input())):
 n = int(input())
 l1 = list(map(int,input().split( )))
 l2 = list(map(int,input().split( )))
 a = sum(l1) - max(l1)
 b = sum(l2) - max(l2)
 if a>b:
  print('Bob')
 elif b>a:
  print('Alice')
 else:
  print('Draw')

# cook your dish here
for i in range(int(input())):
 n = int(input())
 l1 = list(map(int,input().split( )))
 l2 = list(map(int,input().split( )))
 a = sum(l1) - max(l1)
 b = sum(l2) - max(l2)
 if a>b:
  print('Bob')
 elif b>a:
  print('Alice')
 else:
  print('Draw')

t=int(input())
for i in range(t):
 n=int(input())
 a=[int(j) for j in input().split()]
 b=[int(k) for k in input().split()]
 m=max(a)
 a=sum(a)-m
 z=max(b)
 b=sum(b)-z
 if a<b:
  print("Alice")
 elif a>b:
  print("Bob")
 else:
  print("Draw")

t=int(input())
for i in range(t):
 n=int(input())
 a=[int(j) for j in input().split()]
 b=[int(k) for k in input().split()]
 m=max(a)
 a=sum(a)-m
 z=max(b)
 b=sum(b)-z
 if a<b:
  print("Alice")
 elif a>b:
  print("Bob")
 else:
  print("Draw")

t=int(input())
while t!=0:
 n=int(input())
 a=list(map(int,input().split()))
 b=list(map(int,input().split()))
 alice=sum(a)-max(a)
 bob=sum(b)-max(b)
 if alice<bob:
  print('Alice')
 elif bob<alice:
  print('Bob')
 else:
  print('Draw')
 t-=1

def win(arr1,arr2,n):
 a=max(arr1)
 b=max(arr2)
 for ind in range(n):
  if arr1[ind]==a:
   index_a=ind
  if arr2[ind]==b:
   index_b=ind
 
 arr1[index_a]=0
 arr2[index_b]=0
 sum_a,sum_b=0,0
 for i in range(n):
  sum_a+=arr1[i]
 for j in range(n):
  sum_b+=arr2[j]
 
 if sum_a<sum_b:
  print("Alice")
 elif sum_a>sum_b:
  print("Bob")
 else:
  print("Draw")

t=int(input())
for tc in range(t):
 n=int(input())
 arr1=[int(ele) for ele in input().split()]
 arr2=[int(ele) for ele in input().split()]
 win(arr1,arr2,n)


# cook your dish here
t=int(input())
for i in range(t):
 n=int(input())
 a=list(map(int,input().strip().split()))
 b=list(map(int,input().strip().split()))
 a.remove(max(a))
 b.remove(max(b))
 if(sum(a)>sum(b)):
  print("Bob")
 elif sum(a)==sum(b):
  print("Draw")
 else:
  print("Alice")

import math
for _ in range(int(input())):
 n=int(input())
 a=list(map(int,input().split()))
 b=list(map(int,input().split()))
 x=sum(a)-max(a)
 y=sum(b)-max(b)
 if x<y:
  print('Alice')
 elif x>y:
  print('Bob')
 else:
  print('Draw')


a=int(input())
while a:
 a=a-1
 b=int(input())
 x=list(map(int,input().split()))
 y=list(map(int,input().split()))
 h=sum(x) - max(x)
 g=sum(y) - max(y)
 if h<g:
  print("Alice")
 elif g<h:
  print("Bob")
 else:
  print("Draw")

for i in range(int(input())):
 n=int(input())
 a=list(map(int,input().split()))
 b=list(map(int,input().split()))
 if (sum(a)-max(a))<(sum(b)-max(b)):
  print("Alice")
 elif (sum(a)-max(a))==(sum(b)-max(b)):
  print("Draw")
 else:
  print("Bob")
 


t=int(input())
for i in range(0,t):
 n=int(input())
 l1=list(map(int,input().split()))
 l1.sort()
 l1[-1]=0
 sum1=0
 for a in l1:
  sum1+=a
 l2=list(map(int,input().split()))
 l2.sort()
 l2[-1]=0
 sum2=0
 for b in l2:
  sum2+=b
 if(sum1<sum2):
  print("Alice")
 elif(sum1>sum2):
  print("Bob")
 else:
  print("Draw")

t = int(input())
for i in range(t):
 n = int(input())
 alice = list(map(int,input().split()))
 bob = list(map(int,input().split()))
 alice.remove(max(alice))
 bob.remove(max(bob))
 sum_alice = sum(alice)
 sum_bob = sum(bob)
 if sum_bob>sum_alice:
  print("Alice")
 elif sum_alice>sum_bob:
  print("Bob")
 else:
  print("Draw")

t=int(input())
for i in range(t):
 n=int(input())
 a=list(map(int,input().split()))
 b=list(map(int,input().split()))
 a.remove(max(a))
 b.remove(max(b))
 a1=sum(a)
 b1=sum(b)
 if(a1>b1):
  print("Bob")
 elif(b1>a1):
  print("Alice")
 else:
  print("Draw")

# cook your dish here
t=int(input())
for _ in range(t):
 n=int(input())
 a=list(map(int,input().split()))
 b=list(map(int,input().split()))
 a.sort()
 b.sort()
 a[len(a)-1]=0
 b[len(b)-1]=0
 if(sum(a)>sum(b)):
  print("Bob")
 elif(sum(b)>sum(a)):
  print("Alice")
 else:
  print("Draw")