import sys


def solve():
    readline = sys.stdin.buffer.readline
    mod = 10 ** 9 + 7
    n, k = list(map(int, readline().split()))
    n += 1 if n % 2 != 0 else 0
    print("YES" if n // 2 >= k else "NO")


if __name__ == '__main__':
    solve() import sys sys def solve():
    readline = sys.stdin.buffer.readline
    mod = 10 ** 9 + 7
    n, k = list(map(int, readline().split()))
    n += 1 if n % 2 != 0 else 0
    print("YES" if n // 2 >= k else "NO") solve readline = sys.stdin.buffer.readline readline sys.stdin.buffer.readline sys.stdin.buffer sys.stdin sys stdin buffer readline mod = 10 ** 9 + 7 mod 10 ** 9 + 7 10 ** 9 10 9 7 n, k = list(map(int, readline().split())) n list(map(int, readline().split())) list map(int, readline().split()) map int readline().split() ().split () readline split k n += 1 if n % 2 != 0 else 0 n 1 if n % 2 != 0 else 0 n % 2 != 0 n % 2 n 2 0 1 0 print("YES" if n // 2 >= k else "NO") print "YES" if n // 2 >= k else "NO" n // 2 >= k n // 2 n 2 k "YES" "NO" if __name__ == '__main__':
    solve() __name__ == '__main__' __name__ '__main__' solve() solve def solve():
    readline = sys.stdin.buffer.readline
    mod = 10 ** 9 + 7
    n, k = list(map(int, readline().split()))
    n += 1 if n % 2 != 0 else 0
    print("YES" if n // 2 >= k else "NO") def solve():
    readline = sys.stdin.buffer.readline
    mod = 10 ** 9 + 7
    n, k = list(map(int, readline().split()))
    n += 1 if n % 2 != 0 else 0
    print("YES" if n // 2 >= k else "NO") solve
import sys


def solve():
    readline = sys.stdin.buffer.readline
    mod = 10 ** 9 + 7
    n, k = list(map(int, readline().split()))
    n += 1 if n % 2 != 0 else 0
    print("YES" if n // 2 >= k else "NO")


if __name__ == '__main__':
    solve()
