import sys

sys.setrecursionlimit(10 ** 7)
input = sys.stdin.readline
f_inf = float('inf')
mod = 10 ** 9 + 7


def resolve():
    n, k = map(int, input().split())

    res = [i for i in range(1, n + 1, 2)]
    print("YES" if len(res) >= k else "NO")


if __name__ == '__main__':
    resolve() import sys sys sys.setrecursionlimit(10 ** 7) sys.setrecursionlimit sys setrecursionlimit 10 ** 7 10 7 input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline f_inf = float('inf') f_inf float('inf') float 'inf' mod = 10 ** 9 + 7 mod 10 ** 9 + 7 10 ** 9 10 9 7 def resolve():
    n, k = map(int, input().split())

    res = [i for i in range(1, n + 1, 2)]
    print("YES" if len(res) >= k else "NO") resolve n, k = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split k i for i in range(1, n + 1, 2) for i in range(1, n + 1, 2) i range(1, n + 1, 2) range 1 n + 1 n 1 2 for i in range(1, n + 1, 2) i res = [i for i in range(1, n + 1, 2)] res [i for i in range(1, n + 1, 2)] print("YES" if len(res) >= k else "NO") print "YES" if len(res) >= k else "NO" len(res) >= k len(res) len res k "YES" "NO" if __name__ == '__main__':
    resolve() __name__ == '__main__' __name__ '__main__' resolve() resolve mod = 10 ** 9 + 7 10 ** 9 + 7 mod f_inf = float('inf') float('inf') f_inf def resolve():
    n, k = map(int, input().split())

    res = [i for i in range(1, n + 1, 2)]
    print("YES" if len(res) >= k else "NO") def resolve():
    n, k = map(int, input().split())

    res = [i for i in range(1, n + 1, 2)]
    print("YES" if len(res) >= k else "NO") resolve input = sys.stdin.readline sys.stdin.readline input
import sys

sys.setrecursionlimit(10 ** 7)
input = sys.stdin.readline
f_inf = float('inf')
mod = 10 ** 9 + 7


def resolve():
    n, k = map(int, input().split())

    res = [i for i in range(1, n + 1, 2)]
    print("YES" if len(res) >= k else "NO")


if __name__ == '__main__':
    resolve()
