def main():
    n, k = map(int, input().split())
    print("YES" if 2 * (k - 1) + 1 <= n else "NO")


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


if __name__ == '__main__':
    main()

