import java.util.*;

class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    Monster[] m = new Monster[]{
      new Monster(sc.nextInt(), sc.nextInt()),
      new Monster(sc.nextInt(), sc.nextInt())
    };
    int turn = 0;
    while (!m[turn++%2].isDead()) {
      m[turn%2].beAttacked(m[(turn-1)%2]);
    }
    
    System.out.println(turn%2 == 0 ? "Yes" : "No");
  }
  
  static class Monster {
    int hp;
    int attack;
    
    Monster(int hp, int attack) {
      this.hp = hp;
      this.attack = attack;
    }
    
    void beAttacked(Monster enemy) {
      this.hp -= enemy.attack;
    }
   
    boolean isDead() {
      return this.hp <= 0;
    }
  }
} import java.util.*; util.* java class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    Monster[] m = new Monster[]{
      new Monster(sc.nextInt(), sc.nextInt()),
      new Monster(sc.nextInt(), sc.nextInt())
    };
    int turn = 0;
    while (!m[turn++%2].isDead()) {
      m[turn%2].beAttacked(m[(turn-1)%2]);
    }
    
    System.out.println(turn%2 == 0 ? "Yes" : "No");
  }
  
  static class Monster {
    int hp;
    int attack;
    
    Monster(int hp, int attack) {
      this.hp = hp;
      this.attack = attack;
    }
    
    void beAttacked(Monster enemy) {
      this.hp -= enemy.attack;
    }
   
    boolean isDead() {
      return this.hp <= 0;
    }
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    Monster[] m = new Monster[]{
      new Monster(sc.nextInt(), sc.nextInt()),
      new Monster(sc.nextInt(), sc.nextInt())
    };
    int turn = 0;
    while (!m[turn++%2].isDead()) {
      m[turn%2].beAttacked(m[(turn-1)%2]);
    }
    
    System.out.println(turn%2 == 0 ? "Yes" : "No");
  } main {
    Scanner sc = new Scanner(System.in);
    Monster[] m = new Monster[]{
      new Monster(sc.nextInt(), sc.nextInt()),
      new Monster(sc.nextInt(), sc.nextInt())
    };
    int turn = 0;
    while (!m[turn++%2].isDead()) {
      m[turn%2].beAttacked(m[(turn-1)%2]);
    }
    
    System.out.println(turn%2 == 0 ? "Yes" : "No");
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) Monster[] m = new Monster[]{
      new Monster(sc.nextInt(), sc.nextInt()),
      new Monster(sc.nextInt(), sc.nextInt())
    }; m new Monster[]{
      new Monster(sc.nextInt(), sc.nextInt()),
      new Monster(sc.nextInt(), sc.nextInt())
    } int turn = 0; turn 0 while (!m[turn++%2].isDead()) {
      m[turn%2].beAttacked(m[(turn-1)%2]);
    } !m[turn++%2].isDead() m[turn++%2].isDead() m[turn++%2].isDead m[turn++%2] m turn++%2 turn++ turn 2 {
      m[turn%2].beAttacked(m[(turn-1)%2]);
    } m[turn%2].beAttacked(m[(turn-1)%2]) m[turn%2].beAttacked m[turn%2] m turn%2 turn 2 m[(turn-1)%2] m (turn-1)%2 (turn-1) turn 1 2 System.out.println(turn%2 == 0 ? "Yes" : "No") System.out.println System.out System System.out turn%2 == 0 ? "Yes" : "No" turn%2 == 0 turn%2 turn 2 0 "Yes" "No" String[] args args static class Monster {
    int hp;
    int attack;
    
    Monster(int hp, int attack) {
      this.hp = hp;
      this.attack = attack;
    }
    
    void beAttacked(Monster enemy) {
      this.hp -= enemy.attack;
    }
   
    boolean isDead() {
      return this.hp <= 0;
    }
  } Monster int hp; hp int attack; attack Monster(int hp, int attack) {
      this.hp = hp;
      this.attack = attack;
    } Monster {
      this.hp = hp;
      this.attack = attack;
    } this.hp = hp this.hp this this.hp hp this.attack = attack this.attack this this.attack attack int hp hp int attack attack void beAttacked(Monster enemy) {
      this.hp -= enemy.attack;
    } beAttacked {
      this.hp -= enemy.attack;
    } this.hp -= enemy.attack this.hp this this.hp enemy.attack enemy enemy.attack Monster enemy enemy boolean isDead() {
      return this.hp <= 0;
    } isDead {
      return this.hp <= 0;
    } return this.hp <= 0; this.hp <= 0 this.hp this this.hp 0
import java.util.*;

class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    Monster[] m = new Monster[]{
      new Monster(sc.nextInt(), sc.nextInt()),
      new Monster(sc.nextInt(), sc.nextInt())
    };
    int turn = 0;
    while (!m[turn++%2].isDead()) {
      m[turn%2].beAttacked(m[(turn-1)%2]);
    }
    
    System.out.println(turn%2 == 0 ? "Yes" : "No");
  }
  
  static class Monster {
    int hp;
    int attack;
    
    Monster(int hp, int attack) {
      this.hp = hp;
      this.attack = attack;
    }
    
    void beAttacked(Monster enemy) {
      this.hp -= enemy.attack;
    }
   
    boolean isDead() {
      return this.hp <= 0;
    }
  }
}
