import bisect
import os
from collections import Counter, deque
from fractions import gcd
from functools import lru_cache
from functools import reduce
import functools
import heapq
import itertools
import math
import numpy as np
import re
import sys

if os.getenv("LOCAL"):
    sys.stdin = open("_in.txt", "r")

sys.setrecursionlimit(2147483647)
INF = float("inf")

N, K = list(map(int, sys.stdin.readline().split()))

a = list(range(1, N+1, 2))
if len(a) >= K:
    print('YES')
else:
    print('NO') import bisect bisect import os os from collections import Counter, deque from fractions import gcd from functools import lru_cache from functools import reduce import functools functools import heapq heapq import itertools itertools import math math import numpy as np numpy import re re import sys sys if os.getenv("LOCAL"):
    sys.stdin = open("_in.txt", "r") os.getenv("LOCAL") os.getenv os getenv "LOCAL" sys.stdin = open("_in.txt", "r") sys.stdin sys stdin open("_in.txt", "r") open "_in.txt" "r" sys.setrecursionlimit(2147483647) sys.setrecursionlimit sys setrecursionlimit 2147483647 INF = float("inf") INF float("inf") float "inf" N, K = list(map(int, sys.stdin.readline().split())) N list(map(int, sys.stdin.readline().split())) list map(int, sys.stdin.readline().split()) map int sys.stdin.readline().split() sys.stdin.readline().split sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline split K a = list(range(1, N+1, 2)) a list(range(1, N+1, 2)) list range(1, N+1, 2) range 1 N+1 N 1 2 if len(a) >= K:
    print('YES')
else:
    print('NO') len(a) >= K len(a) len a K print('YES') print 'YES' print('NO') print 'NO' K = list(map(int, sys.stdin.readline().split())) list(map(int, sys.stdin.readline().split())) K N, K = list(map(int, sys.stdin.readline().split())) list(map(int, sys.stdin.readline().split())) N INF = float("inf") float("inf") INF a = list(range(1, N+1, 2)) list(range(1, N+1, 2)) a
import bisect
import os
from collections import Counter, deque
from fractions import gcd
from functools import lru_cache
from functools import reduce
import functools
import heapq
import itertools
import math
import numpy as np
import re
import sys

if os.getenv("LOCAL"):
    sys.stdin = open("_in.txt", "r")

sys.setrecursionlimit(2147483647)
INF = float("inf")

N, K = list(map(int, sys.stdin.readline().split()))

a = list(range(1, N+1, 2))
if len(a) >= K:
    print('YES')
else:
    print('NO')
