n = input()
for i in range( int(n)):
x ,y=map(int,input().split()) if(x%2==0 and y%2==0): print('yes')
elif(x%2!=0 and y%2!=0): print('yes')
else:
print('no')
This is my python code , it gets the verdict runtime error when i submit it. What is the problem in my code