def main(): a,b=(int(x) for x in input().split()) if a > b*2: print("No") return if b > a*2: print("No") return print("Yes") return if __name__ == "__main__": main()