import math
import sys
import collections
import bisect


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


if __name__ == '__main__':
    main() import math math import sys sys import collections collections import bisect bisect def main():
    n, k = map(int, input().split())
    print("YES" if (n + 1)//2 >= k 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 (n + 1)//2 >= k else "NO") print "YES" if (n + 1)//2 >= k else "NO" (n + 1)//2 >= k (n + 1)//2 n + 1 n 1 2 k "YES" "NO" if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    n, k = map(int, input().split())
    print("YES" if (n + 1)//2 >= k else "NO") def main():
    n, k = map(int, input().split())
    print("YES" if (n + 1)//2 >= k else "NO") main
import math
import sys
import collections
import bisect


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


if __name__ == '__main__':
    main()
