output_description: If we can choose K integers as above, print `YES`; otherwise, print `NO`.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      N K
attempt: import sys
  
  input_methods = ["clipboard", "file", "key"]
  using_method = 0
  input_method = input_methods[using_method]
  
  tin = lambda: map(int, input().split())
  lin = lambda: list(tin())
  mod = 1000000007
  
  # +++++
  
  
  def main():
      # a = int(input())
      # b , c = tin()
      # s = input()
      b, c = tin()
      return "Yes" if b >= (c * 2) - 1 else "No"
  
  
  # +++++
  isTest = False
  
  
  def pa(v):
      if isTest:
          print(v)
  
  
  def input_clipboard():
      import clipboard
  
      input_text = clipboard.get()
      input_l = input_text.splitlines()
      for l in input_l:
          yield l
  
  
  if __name__ == "__main__":
      if sys.platform == "ios":
          if input_method == input_methods[0]:
              ic = input_clipboard()
              input = lambda: ic.__next__()
          elif input_method == input_methods[1]:
              sys.stdin = open("inputFile.txt")
          else:
              pass
          isTest = True
      else:
          pass
          # input = sys.stdin.readline
  
      ret = main()
      if ret is not None:
          print(ret)
  
problem_description: Statement
  
  Determine if we can choose K different integers between 1 and N (inclusive) so
  that no two of them differ by 1.
samples: [{"input": "3 2", "output": "YES\n    \n\nWe can choose 1 and 3.\n\n* * *"}, {"input": "5 5", "output": "NO\n    \n\n* * *"}, {"input": "31 10", "output": "YES\n    \n\n* * *"}, {"input": "10 90", "output": "NO"}]