N, K = [int(s) for s in input().split(' ')]
x = 0
if N%2:
    x = (N + 1) / 2
else:
    x = N/ 2
if x>=K:
    print("YES")
else:
    print("NO") int(s) for s in input().split(' ') for s in input().split(' ') s input().split(' ') ().split () input split ' ' for s in input().split(' ') int(s) int s N, K = [int(s) for s in input().split(' ')] N [int(s) for s in input().split(' ')] K x = 0 x 0 if N%2:
    x = (N + 1) / 2
else:
    x = N/ 2 N%2 N 2 x = (N + 1) / 2 x (N + 1) / 2 N + 1 N 1 2 x = N/ 2 x N/ 2 N 2 if x>=K:
    print("YES")
else:
    print("NO") x>=K x K print("YES") print "YES" print("NO") print "NO" x = N/ 2 N/ 2 x K = [int(s) for s in input().split(' ')] [int(s) for s in input().split(' ')] K x = 0 0 x x = (N + 1) / 2 (N + 1) / 2 x N, K = [int(s) for s in input().split(' ')] [int(s) for s in input().split(' ')] N
N, K = [int(s) for s in input().split(' ')]
x = 0
if N%2:
    x = (N + 1) / 2
else:
    x = N/ 2
if x>=K:
    print("YES")
else:
    print("NO")