I have to discuss about the problem i.e TLG

round=int(input())
i=1
cum1=0
cum2=0
while i<=round:
player1,player2=map(int,input().split())
cum1=cum1+player1
cum2=cum2+player2
if i==1:
lead1=player1-player2
else:
lead2=-(cum1-cum2)
i+=1

if lead1>lead2:
print(“1”,lead1)
else:
print(“2”,lead2)

What is the error in this code ? because the output is coming right but when i submit the code it give me a wrong answer