Learning course: [Solve Programming problems using Python](https://www.codechef.com/learn/python-beginner)
Problem Link: https://www.codechef.com/learn/BP00BP20/problems/AO17
T = int(input())
for i in range(T):
n = int(input())
a = list(map(int,input().split()))
Alice = sum(a)
b = list(map(int,input().split()))
Bob = sum(b)
if Alice > Bob:
print('Bob')
elif Bob > Alice:
print('Alice')
else:
print('Draw')
@ashokreddy26
Actually u have to subtract the maximum value of a from sum(a) u get Alice’s score and maximum value of b from sum(b) to get bob’s score and then compare to get actual answer.