// #include <iostream>
#include <map>
#include <iostream>

#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for (int i = 0; i < (n); ++i)
using ll = long long;
using P = pair<int,int>;

const int INF = 1000000001;

const int di[] = {-1, 0, 1, 0};
const int dj[] = {0, -1, 0, 1};

const ll mod = 1000000007;


int main(){
    int x,y;
    cin >> x >> y;
    if(max(x,y) < min(x,y) + 3) cout << "Yes" << endl;
    else cout << "No" << endl;
    return 0;
} 


#include <bits/stdc++.h>

using namespace std;

int main() {                            
  ios::sync_with_stdio(false);
  cin.tie(0);
  char c1, c2, c3;
  cin >> c1 >> c2 >> c3;
  cout << (c1 == c2 && c2 == c3 && c1 == c3 ? "Won" : "Lost") << '\n';
 	return 0;
}      