def main():
    n, k = list(map(int, input().split()))
    print('YES' if k <= -(-n // 2) else 'NO')

if __name__ == '__main__':
    main() def main():
    n, k = list(map(int, input().split()))
    print('YES' if k <= -(-n // 2) else 'NO') main n, k = list(map(int, input().split())) n list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split k print('YES' if k <= -(-n // 2) else 'NO') print 'YES' if k <= -(-n // 2) else 'NO' k <= -(-n // 2) k -(-n // 2) -n // 2 -n n 2 'YES' 'NO' if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    n, k = list(map(int, input().split()))
    print('YES' if k <= -(-n // 2) else 'NO') def main():
    n, k = list(map(int, input().split()))
    print('YES' if k <= -(-n // 2) else 'NO') main
def main():
    n, k = list(map(int, input().split()))
    print('YES' if k <= -(-n // 2) else 'NO')

if __name__ == '__main__':
    main()
