/* -*- coding: utf-8 -*-
 *
 * 2736.cc:  No.2736 About half - yukicoder
 */

#include<cstdio>
#include<algorithm>
 
using namespace std;

/* main */

int main() {
  int a, b;
  scanf("%d%d", &a, &b);

  if (a * 2 >= b && b * 2 >= a) puts("Yes");
  else puts("No");

  return 0;
}