### My issue

t = int(input())

while t > 0:

n = input().split(" ")

x = int(n[0])

y = int(n[1])

```
if (x % 2 == 0 and y % 2 != 0) or (x == 0 and y % 2 == 0) or (x % 2 == 0 and y == 0) or (x % 2 == 0 and y % 2 == 0):
print("Yes")
else:
print("No")
t -= 1
```

That’s my code, and I don’t think their is any issue in my logic and so in my code, then why my code isn’t being accepted???

### My code

```
t = int(input())
while t > 0:
n = input().split(" ")
x = int(n[0])
y = int(n[1])
if (x % 2 == 0 and y % 2 != 0) or (x == 0 and y % 2 == 0) or (x % 2 == 0 and y == 0) or (x % 2 == 0 and y % 2 == 0):
print("Yes")
else:
print("No")
t -= 1
```

Problem Link: EQUALCOIN Problem - CodeChef