var lines=[]; var reader = require('readline').createInterface({ input: process.stdin, output: process.stdout }); reader.on('line', function (line) { lines.push(line); }); reader.on('close', function () { var l=lines[0]; var [boysExceptYasuo,girls]=l.split(/\s+/); var remainGirls=pairExceptYasuo(boysExceptYasuo,girls); console.log(remainGirls>0?"YES":"NO"); function pairExceptYasuo(boysExceptYasuo,girls) { return boysExceptYasuo-girls; } });