Help me in solving PRIMEDICE problem

My issue

I can’t make it stop saying Bob

My code

t = int(input())
p = [2,3,5,7,11]
c = False
for i in range(t):
    a,b = map(int,input().split())
    s = a+b
    for n in p:
        if sum == n:
            c=True
            continue
        else:
            pass
    if c == True:
        print("Alice")
    else: 
        print("Bob")

Learning course: Number theory
Problem Link: Hackerman Practice Problem in Introduction to Number theory - CodeChef

@fanghuimeehan
U have to declare c=False inside test case loop