#include <iostream>
using namespace std;

int main(void)
{
    int x, y;
    cin >> x >> y;
    
    int result = abs(x - y);
    if (result < 3)
        cout << "Yes" << endl;
    else
        cout << "No" << endl;
    
    return 0;
}
#include <bits/stdc++.h>
using namespace std;
#define ll long long int

  int  fact(int a){
    int b=1;
    for(int i=2;i<=a;i++){
      b*=i;
    } 
   return b;}
 int main(){
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
 ll n,m;
 cin>>n>>m;
 cout<<n/m<<endl;
return 0;
}