# -*- coding: utf-8 -*-
import sys
import copy
import collections
from bisect import bisect_left
from bisect import bisect_right
from collections import defaultdict
from heapq import heappop, heappush, heapify
import math
import itertools
import random

import os
 
# NO, PAY-PAY
#import numpy as np
#import statistics
#from statistics import mean, median,variance,stdev
 
INF = float('inf')
def inputInt(): return int(input())
def inputMap(): return map(int, input().split())
def inputList(): return list(map(int, input().split()))
 
def main():
    N,K = inputMap()
    
    ans = 0
    for i in range(1, N+1):
        if i % 2 == 1:
            ans += 1
            if ans >= K:
                print("YES")
                sys.exit()
                
    print("NO")
    
    
if __name__ == "__main__":
	main() import sys sys import copy copy import collections collections from bisect import bisect_left from bisect import bisect_right from collections import defaultdict from heapq import heappop, heappush, heapify import math math import itertools itertools import random random import os os INF = float('inf') INF float('inf') float 'inf' def inputInt(): return int(input()) inputInt def inputMap(): return map(int, input().split()) inputMap def inputList(): return list(map(int, input().split()))
  inputList def main():
    N,K = inputMap()
    
    ans = 0
    for i in range(1, N+1):
        if i % 2 == 1:
            ans += 1
            if ans >= K:
                print("YES")
                sys.exit()
                
    print("NO")
    
     main N,K = inputMap() N inputMap() inputMap K ans = 0 ans 0 for i in range(1, N+1):
        if i % 2 == 1:
            ans += 1
            if ans >= K:
                print("YES")
                sys.exit()
                
     i range(1, N+1) range 1 N+1 N 1 if i % 2 == 1:
            ans += 1
            if ans >= K:
                print("YES")
                sys.exit()
                
     i % 2 == 1 i % 2 i 2 1 ans += 1 ans 1 if ans >= K:
                print("YES")
                sys.exit()
                
     ans >= K ans K print("YES") print "YES" sys.exit() sys.exit sys exit print("NO") print "NO" if __name__ == "__main__":
	main() __name__ == "__main__" __name__ "__main__" main() main INF = float('inf') float('inf') INF def inputInt(): return int(input()) def inputInt(): return int(input()) inputInt def inputMap(): return map(int, input().split()) def inputMap(): return map(int, input().split()) inputMap def main():
    N,K = inputMap()
    
    ans = 0
    for i in range(1, N+1):
        if i % 2 == 1:
            ans += 1
            if ans >= K:
                print("YES")
                sys.exit()
                
    print("NO")
    
     def main():
    N,K = inputMap()
    
    ans = 0
    for i in range(1, N+1):
        if i % 2 == 1:
            ans += 1
            if ans >= K:
                print("YES")
                sys.exit()
                
    print("NO")
    
     main def inputList(): return list(map(int, input().split()))
  def inputList(): return list(map(int, input().split()))
  inputList
# -*- coding: utf-8 -*-
import sys
import copy
import collections
from bisect import bisect_left
from bisect import bisect_right
from collections import defaultdict
from heapq import heappop, heappush, heapify
import math
import itertools
import random

import os
 
# NO, PAY-PAY
#import numpy as np
#import statistics
#from statistics import mean, median,variance,stdev
 
INF = float('inf')
def inputInt(): return int(input())
def inputMap(): return map(int, input().split())
def inputList(): return list(map(int, input().split()))
 
def main():
    N,K = inputMap()
    
    ans = 0
    for i in range(1, N+1):
        if i % 2 == 1:
            ans += 1
            if ans >= K:
                print("YES")
                sys.exit()
                
    print("NO")
    
    
if __name__ == "__main__":
	main()
