for t in range(int(input())):
    n = 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('Bob')
    elif B > A:
        print('Alice')
    else:
        print('Draw')

bff3db55794d02911ce853f24819335a639bee1a
<mask token>

for t in range(int(input())):
    n = 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('Bob')
    elif B > A:
        print('Alice')
    else:
        print('Draw')
