def candy(A, B): if A * 2 < B or B * 2 < A: print("Yes") else: print("No") A,B = map(int, input(). split()) candy(A, B)