A, B = map(int, input().split()) a, b = sorted([A, B]) if a*2 >= b: print('Yes') else: print('No')