import sys
import math

read = sys.stdin.read
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 8)
INF = float('inf')
MOD = 10 ** 9 + 7


def main():
    N, K = map(int, readline().split())
    if math.ceil(N/2)>=K:
        print('YES')
    else:
        print('NO')

if __name__ == '__main__':
    main() import sys sys import math math read = sys.stdin.read read sys.stdin.read sys.stdin sys stdin read readline = sys.stdin.buffer.readline readline sys.stdin.buffer.readline sys.stdin.buffer sys.stdin sys stdin buffer readline sys.setrecursionlimit(10 ** 8) sys.setrecursionlimit sys setrecursionlimit 10 ** 8 10 8 INF = float('inf') INF float('inf') float 'inf' MOD = 10 ** 9 + 7 MOD 10 ** 9 + 7 10 ** 9 10 9 7 def main():
    N, K = map(int, readline().split())
    if math.ceil(N/2)>=K:
        print('YES')
    else:
        print('NO') main N, K = map(int, readline().split()) N map(int, readline().split()) map int readline().split() ().split () readline split K if math.ceil(N/2)>=K:
        print('YES')
    else:
        print('NO') math.ceil(N/2)>=K math.ceil(N/2) math.ceil math ceil N/2 N 2 K print('YES') print 'YES' print('NO') print 'NO' if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main INF = float('inf') float('inf') INF read = sys.stdin.read sys.stdin.read read MOD = 10 ** 9 + 7 10 ** 9 + 7 MOD def main():
    N, K = map(int, readline().split())
    if math.ceil(N/2)>=K:
        print('YES')
    else:
        print('NO') def main():
    N, K = map(int, readline().split())
    if math.ceil(N/2)>=K:
        print('YES')
    else:
        print('NO') main readline = sys.stdin.buffer.readline sys.stdin.buffer.readline readline
import sys
import math

read = sys.stdin.read
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 8)
INF = float('inf')
MOD = 10 ** 9 + 7


def main():
    N, K = map(int, readline().split())
    if math.ceil(N/2)>=K:
        print('YES')
    else:
        print('NO')

if __name__ == '__main__':
    main()
