def main():
    N, K = (int(i) for i in input().split())
    if (N+1)//2 >= K:
        print("YES")
    else:
        print("NO")


if __name__ == '__main__':
    main()

3a8149808aadc48420f9050a93a167347b073a80
<mask token>

def main():
    N, K = (int(i) for i in input().split())
    if (N + 1) // 2 >= K:
        print('YES')
    else:
        print('NO')


<mask token>

def main():
    N, K = (int(i) for i in input().split())
    if (N + 1) // 2 >= K:
        print('YES')
    else:
        print('NO')


if __name__ == '__main__':
    main()

def main():
    N, K = (int(i) for i in input().split())
    if (N+1)//2 >= K:
        print("YES")
    else:
        print("NO")


if __name__ == '__main__':
    main()
