Please anyone debug this SMALL CODE

score={}
lis=[]
round=int(input())
for a in range(0,round):
s=input().split()
if int(s[0])> int(s[1]):
score[int(s[0])-int(s[1])]=1
lis.append(int(s[0])-int(s[1]))
else:
score[int(s[1])-int(s[0])]=2
lis.append(int(s[1])-int(s[0]))
print(score[max(lis)],max(lis))

This is the code to solve the problem of LEAD CODE in codechef practice questions…

Level=EASY