a,b = list(map(int, input().split()))
if a % 2 == 0:
    if a / 2 >= b:
        print("YES")
    else:
        print("NO")
else:
    if (a + 1) / 2 >= b:
        print("YES")
    else:
        print("NO") a,b = list(map(int, input().split())) a list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split b if a % 2 == 0:
    if a / 2 >= b:
        print("YES")
    else:
        print("NO")
else:
    if (a + 1) / 2 >= b:
        print("YES")
    else:
        print("NO") a % 2 == 0 a % 2 a 2 0 if a / 2 >= b:
        print("YES")
    else:
        print("NO") a / 2 >= b a / 2 a 2 b print("YES") print "YES" print("NO") print "NO" if (a + 1) / 2 >= b:
        print("YES")
    else:
        print("NO") (a + 1) / 2 >= b (a + 1) / 2 a + 1 a 1 2 b print("YES") print "YES" print("NO") print "NO" a,b = list(map(int, input().split())) list(map(int, input().split())) a b = list(map(int, input().split())) list(map(int, input().split())) b
a,b = list(map(int, input().split()))
if a % 2 == 0:
    if a / 2 >= b:
        print("YES")
    else:
        print("NO")
else:
    if (a + 1) / 2 >= b:
        print("YES")
    else:
        print("NO")
