function Main(input) {
    var input = input.split(" ");
  N = Number(input[0])/2+0.5;
  K = Number(input[1]);
  if(N>=K) console.log("YES");
  else console.log("NO");
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));