This documentation is automatically generated by online-judge-tools/verification-helper
#define PROBLEM "https://atcoder.jp/contests/2019yahoo_qual/tasks/2019yahoo_qual_a"
#include <bits/stdc++.h>
using namespace std;
#include "math/ceil-div.hpp"
using namespace matumoto;
int main() {
int n, k;
cin >> n >> k;
cout << (ceil_div(n, 2) >= k ? "YES" : "NO") << endl;
}#line 1 "test/atcoder/other/yahoo2019/A.test.cpp"
#define PROBLEM "https://atcoder.jp/contests/2019yahoo_qual/tasks/2019yahoo_qual_a"
#include <bits/stdc++.h>
using namespace std;
#line 2 "math/ceil-div.hpp"
#line 2 "math/base.hpp"
namespace matumoto {
using namespace std;
using ll = long long;
} // namespace matumoto
#line 4 "math/ceil-div.hpp"
#line 6 "math/ceil-div.hpp"
namespace matumoto {
constexpr ll ceil_div(ll n, ll d) {
assert(d != 0);
return n / d + (((n ^ d) >= 0) and (n % d));
}
} // namespace matumoto
#line 6 "test/atcoder/other/yahoo2019/A.test.cpp"
using namespace matumoto;
int main() {
int n, k;
cin >> n >> k;
cout << (ceil_div(n, 2) >= k ? "YES" : "NO") << endl;
}