#include<bits/stdc++.h>
using namespace std;
int main(){
	int a,b;
	cin>>a>>b;
	if(a*2>=b&&b*2>=a)cout<<"Yes\n";
	else cout<<"No\n";
}