a, b = map(int, input().split()) bad = 2 * a < b or a > 2 * b print('Yes' if not bad else 'No')