#include using namespace std; int main(){ int n,m; cin >> n >> m; if(n % 2) m -= 10; if(m % 2 || m < 0) cout << "NO" << "\n"; else cout << "YES" << "\n"; return 0; }