#include<bits/stdc++.h> 
using namespace std;
#define ll long long int


int x,y;


void solve()
{
  cin>>x>>y;
  
  
  int low=min(x,y);
  int high=max(x,y);
  
  low+=3;
  if(low<=high)
    cout<<"No";
  else
    cout<<"Yes";
 
}
 
 
int main()
{
   ios::sync_with_stdio(0);
   cin.tie(0);
   
  
      solve();

 return 0;
}
#include<bits/stdc++.h>
using namespace std;

signed main()
{
  int a,b,x,y; cin >> a >> b;
  x = (a+b)/2;
  y = a-x;
  cout << x << " " << y;
}