import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

def lcm(x, y):
    return (x * y) // math.gcd(x, y)

if __name__ == '__main__':
    a = [int(i) for i in input().split()]
    
    if a[0] % 2 ==1:
        a[0] +=1


    if a[0]//2 >=a[1] :
        print("YES")
    else:
        print("NO") import sys sys import copy copy import math math import bisect bisect import pprint pprint import bisect bisect from functools import reduce from copy import deepcopy from collections import deque def lcm(x, y):
    return (x * y) // math.gcd(x, y) lcm return (x * y) // math.gcd(x, y) (x * y) // math.gcd(x, y) x * y x y math.gcd(x, y) math.gcd math gcd x y x x y y if __name__ == '__main__':
    a = [int(i) for i in input().split()]
    
    if a[0] % 2 ==1:
        a[0] +=1


    if a[0]//2 >=a[1] :
        print("YES")
    else:
        print("NO") __name__ == '__main__' __name__ '__main__' int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i a = [int(i) for i in input().split()] a [int(i) for i in input().split()] if a[0] % 2 ==1:
        a[0] +=1


     a[0] % 2 ==1 a[0] % 2 a[0] a 0 2 1 a[0] +=1 a[0] a 0 1 if a[0]//2 >=a[1] :
        print("YES")
    else:
        print("NO") a[0]//2 >=a[1] a[0]//2 a[0] a 0 2 a[1] a 1 print("YES") print "YES" print("NO") print "NO" a = [int(i) for i in input().split()] [int(i) for i in input().split()] a def lcm(x, y):
    return (x * y) // math.gcd(x, y) def lcm(x, y):
    return (x * y) // math.gcd(x, y) lcm
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

def lcm(x, y):
    return (x * y) // math.gcd(x, y)

if __name__ == '__main__':
    a = [int(i) for i in input().split()]
    
    if a[0] % 2 ==1:
        a[0] +=1


    if a[0]//2 >=a[1] :
        print("YES")
    else:
        print("NO")
