// N^2

#include<bits/stdc++.h>
using namespace std;
using ll=long long;
constexpr int MOD=998244353;

int main(){
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  vector<vector<string>> ans(501,vector<string>(501,""));
  for(int i=1;i<=500;i++){
    for(int j=1;j<=500;j++){
      if(i*2<j||j*2<i){
        ans[i][j]="No\n";
      }else{
        ans[i][j]="Yes\n";
      }
    }
  }
  int A,B;
  cin>>A>>B;
  cout<<ans[A][B];
}