# みんなのプロコン 2019: A – Anti-Adjacency
n, k = [int(s) for s in input().split()]
print('YES' if k * 2 - 1 <= n 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 k * 2 - 1 <= n else 'NO') print 'YES' if k * 2 - 1 <= n else 'NO' k * 2 - 1 <= n k * 2 - 1 k * 2 k 2 1 n 'YES' 'NO' n, k = [int(s) for s in input().split()] [int(s) for s in input().split()] n k = [int(s) for s in input().split()] [int(s) for s in input().split()] k
# みんなのプロコン 2019: A – Anti-Adjacency
n, k = [int(s) for s in input().split()]
print('YES' if k * 2 - 1 <= n else 'NO')