function main(input) {
    const params = input.trim().split(/\s/).map(str => ~~str);
    console.log((params[0] + 1) / params[1] >= 2 ? 'YES' : 'NO');
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));