from sys import stdin
N, K = [int(_) for _ in stdin.readline().rstrip().split()]
if N >= K*2-1:
    print("YES")
else:
    print("NO") from sys import stdin int(_) for _ in stdin.readline().rstrip().split() for _ in stdin.readline().rstrip().split() _ stdin.readline().rstrip().split() stdin.readline().rstrip().split stdin.readline().rstrip() stdin.readline().rstrip stdin.readline() stdin.readline stdin readline rstrip split for _ in stdin.readline().rstrip().split() int(_) int _ N, K = [int(_) for _ in stdin.readline().rstrip().split()] N [int(_) for _ in stdin.readline().rstrip().split()] K if N >= K*2-1:
    print("YES")
else:
    print("NO") N >= K*2-1 N K*2-1 K*2 K 2 1 print("YES") print "YES" print("NO") print "NO" K = [int(_) for _ in stdin.readline().rstrip().split()] [int(_) for _ in stdin.readline().rstrip().split()] K N, K = [int(_) for _ in stdin.readline().rstrip().split()] [int(_) for _ in stdin.readline().rstrip().split()] N
from sys import stdin
N, K = [int(_) for _ in stdin.readline().rstrip().split()]
if N >= K*2-1:
    print("YES")
else:
    print("NO")