#include <bits/stdc++.h> using namespace std; int main() { long long m,k; cin>>m>>k; if(m/(k*3)==0){ cout<<"YES"; }else{ cout<<"NO"; } return 0; }