Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- #define loop(i,b,e) for(int i = b ; i < e ; i++)
- #define reloop(i,e,b) for(int i = e-1 ; i >= b ; i--)
- typedef long long ll;
- typedef vector<int> vi;
- void io() {
- ios_base::sync_with_stdio(false);
- cin.tie(0);
- cout.tie(0);
- }
- //Declaration
- int x,y;
- //===========
- int main() {
- io();
- cin >> x >> y;
- y--;
- puts((x - y) % 2 == 0 && x >= y ? "Yes" : "No");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement