Help me in solving DIFFSUM problem

My issue

CAN YOU PLEASE ,SAY THE MISTAKE HERE

My code

# cook your dish here
N1,N2=map(int, input().split())
if N1>N2 and -1000<=N1<=1000 and -1000<=N2<=1000:
    print(N1-N2)
else:
    print(N1+N2)

Problem Link: Sum OR Difference Practice Coding Problem - CodeChef

@bhanupriya6251
plzz refer the following solution

# cook your dish here
a = int(input())
b = int(input())
if a > b:
    print( a - b )
else:
    print( a + b )