#include #include #include #include #include #include #include #include using namespace std; typedef long long ll; int gcd(int m,int n) { // 引数に0がある場合は0を返す if ( ( 0 == m ) || ( 0 == n ) ) return 0; // ユークリッドの方法 while( m != n ) { if ( m > n ) m = m - n; else n = n - m; } return m; }//gcd int main(){ // input int N,M; cin >>N >> M; //vector v(N); //std::sort(g.begin(),g.end()); if(N %2 == 0){ if(M % 2 == 0){ cout << "Yes" << endl; } else{ cout << "No" << endl; } } else{ if((M-10) >= 0){ if((M-10) % 2 == 0){ cout << "Yes" << endl; } else{ cout << "No" << endl; } } else{ cout << "No" << endl; } } return 0; }