#include <stdio.h> int main () { long long k,m,a; scanf("%ld %ld",&m,&k); a=m/3.0; if(a>=k) printf("YES"); else printf("NO"); }