Advertisement
draligamer7Snakify

Exactly one odd

Oct 11th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. a=int(input())
  2. b=int(input())
  3. if a %2==1 and b %2==0 or a %2==0 and b%2==1:
  4. print("YES")
  5. else:
  6. print("NO")
  7.  
  8. #if a %1==0:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement