Determine if we can choose K different integers between 1 and N (inclusive) so that no two of them differ by 1.
#!/usr/bin/env python3

N,K = map(int, input().split())

if (N-1) > 2*(K-1):
    print("YES")
else:
    print("NO")

#!/usr/bin/env python3

N,K = map(int, input().split())

if (N-1) >= 2*(K-1):
    print("YES")
else:
    print("NO")
