Determine if we can choose K different integers between 1 and N (inclusive) so that no two of them differ by 1.
import sys
A,B = [int(n) for n in input().split()]
# N = int(input())
# A = [0]*N

#     A[i] = int(input())
# S = str(input())
# T = str(input())
if A/2 >= B:
    print("YES")
else:
    print("NO")
import sys
A,B = [int(n) for n in input().split()]
# N = int(input())
if((A+1)/2 >=B):
    print("YES")
    sys.exit()

print("NO")
