N, K = [int(s) for s in input().split()]
print('YES' if N-1>=2*(K-1) else '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 print('YES' if N-1>=2*(K-1) else 'NO') print 'YES' if N-1>=2*(K-1) else 'NO' N-1>=2*(K-1) N-1 N 1 2*(K-1) 2 K-1 K 1 'YES' 'NO' K = [int(s) for s in input().split()] [int(s) for s in input().split()] K 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()]
print('YES' if N-1>=2*(K-1) else 'NO')