function main(input) {
  const lines = input.split("\n");
  const values = lines[0].split(' ').map(Number);

  let i = 1;
  while (true) {
    const target = i == 3 ? 0 : i+1;
    const hp = values[target] - values[i];
    if (hp <= 0) break;
    values[target] = hp;
    i = (i + 2) % 4;
  }
  const res = i == 1 ? 'Yes' : 'No';

  console.log(res);
}

main(require("fs").readFileSync("/dev/stdin", "utf8"));