Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x, y = map(int, input().split())
- if y == 0:
- print('No')
- quit()
- if y == 1:
- if x == 0:
- print('Yes')
- else:
- print('No')
- quit()
- print('Yes' if x >= y - 1 and (x - y + 1) % 2 == 0 else 'No')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement