alice, bob = map(int, input().split())
if alice * 2 < bob:
	print("No")
elif bob * 2 < alice:
	print("No")
else:
	print("Yes")