A, B = list(map(int, input().split())) if (A > 2*B) or (2*A < B): print('No') else: print('Yes')