import java.util.Scanner;
     
public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        
        class Monster {
            int hp;
            int attack;

            Monster(int hp0, int attack0) {
                hp = hp0;
                attack = attack0;
            }
        }

        Monster takahashiMonster = new Monster(
            scan.nextInt(),
            scan.nextInt()
        );
        Monster aokiMonster = new Monster(
            scan.nextInt(),
            scan.nextInt()
        );

        while(takahashiMonster.hp > 0 && aokiMonster.hp > 0) {
            aokiMonster.hp -= takahashiMonster.attack;

            if(aokiMonster.hp > 0) {
                takahashiMonster.hp -= aokiMonster.attack;
            }
        }

        if(takahashiMonster.hp > 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        scan.close();
        return;
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        
        class Monster {
            int hp;
            int attack;

            Monster(int hp0, int attack0) {
                hp = hp0;
                attack = attack0;
            }
        }

        Monster takahashiMonster = new Monster(
            scan.nextInt(),
            scan.nextInt()
        );
        Monster aokiMonster = new Monster(
            scan.nextInt(),
            scan.nextInt()
        );

        while(takahashiMonster.hp > 0 && aokiMonster.hp > 0) {
            aokiMonster.hp -= takahashiMonster.attack;

            if(aokiMonster.hp > 0) {
                takahashiMonster.hp -= aokiMonster.attack;
            }
        }

        if(takahashiMonster.hp > 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        scan.close();
        return;
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        
        class Monster {
            int hp;
            int attack;

            Monster(int hp0, int attack0) {
                hp = hp0;
                attack = attack0;
            }
        }

        Monster takahashiMonster = new Monster(
            scan.nextInt(),
            scan.nextInt()
        );
        Monster aokiMonster = new Monster(
            scan.nextInt(),
            scan.nextInt()
        );

        while(takahashiMonster.hp > 0 && aokiMonster.hp > 0) {
            aokiMonster.hp -= takahashiMonster.attack;

            if(aokiMonster.hp > 0) {
                takahashiMonster.hp -= aokiMonster.attack;
            }
        }

        if(takahashiMonster.hp > 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        scan.close();
        return;
    } main {
        Scanner scan = new Scanner(System.in);
        
        class Monster {
            int hp;
            int attack;

            Monster(int hp0, int attack0) {
                hp = hp0;
                attack = attack0;
            }
        }

        Monster takahashiMonster = new Monster(
            scan.nextInt(),
            scan.nextInt()
        );
        Monster aokiMonster = new Monster(
            scan.nextInt(),
            scan.nextInt()
        );

        while(takahashiMonster.hp > 0 && aokiMonster.hp > 0) {
            aokiMonster.hp -= takahashiMonster.attack;

            if(aokiMonster.hp > 0) {
                takahashiMonster.hp -= aokiMonster.attack;
            }
        }

        if(takahashiMonster.hp > 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        scan.close();
        return;
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) Monster takahashiMonster = new Monster(
            scan.nextInt(),
            scan.nextInt()
        ); takahashiMonster new Monster(
            scan.nextInt(),
            scan.nextInt()
        ) Monster aokiMonster = new Monster(
            scan.nextInt(),
            scan.nextInt()
        ); aokiMonster new Monster(
            scan.nextInt(),
            scan.nextInt()
        ) while(takahashiMonster.hp > 0 && aokiMonster.hp > 0) {
            aokiMonster.hp -= takahashiMonster.attack;

            if(aokiMonster.hp > 0) {
                takahashiMonster.hp -= aokiMonster.attack;
            }
        } takahashiMonster.hp > 0 && aokiMonster.hp > 0 takahashiMonster.hp > 0 takahashiMonster.hp takahashiMonster takahashiMonster.hp 0 aokiMonster.hp > 0 aokiMonster.hp aokiMonster aokiMonster.hp 0 {
            aokiMonster.hp -= takahashiMonster.attack;

            if(aokiMonster.hp > 0) {
                takahashiMonster.hp -= aokiMonster.attack;
            }
        } aokiMonster.hp -= takahashiMonster.attack aokiMonster.hp aokiMonster aokiMonster.hp takahashiMonster.attack takahashiMonster takahashiMonster.attack if(aokiMonster.hp > 0) {
                takahashiMonster.hp -= aokiMonster.attack;
            } aokiMonster.hp > 0 aokiMonster.hp aokiMonster aokiMonster.hp 0 {
                takahashiMonster.hp -= aokiMonster.attack;
            } takahashiMonster.hp -= aokiMonster.attack takahashiMonster.hp takahashiMonster takahashiMonster.hp aokiMonster.attack aokiMonster aokiMonster.attack if(takahashiMonster.hp > 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } takahashiMonster.hp > 0 takahashiMonster.hp takahashiMonster takahashiMonster.hp 0 {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
            System.out.println("No");
        } System.out.println("No") System.out.println System.out System System.out "No" scan.close() scan.close scan return; String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        
        class Monster {
            int hp;
            int attack;

            Monster(int hp0, int attack0) {
                hp = hp0;
                attack = attack0;
            }
        }

        Monster takahashiMonster = new Monster(
            scan.nextInt(),
            scan.nextInt()
        );
        Monster aokiMonster = new Monster(
            scan.nextInt(),
            scan.nextInt()
        );

        while(takahashiMonster.hp > 0 && aokiMonster.hp > 0) {
            aokiMonster.hp -= takahashiMonster.attack;

            if(aokiMonster.hp > 0) {
                takahashiMonster.hp -= aokiMonster.attack;
            }
        }

        if(takahashiMonster.hp > 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        scan.close();
        return;
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        
        class Monster {
            int hp;
            int attack;

            Monster(int hp0, int attack0) {
                hp = hp0;
                attack = attack0;
            }
        }

        Monster takahashiMonster = new Monster(
            scan.nextInt(),
            scan.nextInt()
        );
        Monster aokiMonster = new Monster(
            scan.nextInt(),
            scan.nextInt()
        );

        while(takahashiMonster.hp > 0 && aokiMonster.hp > 0) {
            aokiMonster.hp -= takahashiMonster.attack;

            if(aokiMonster.hp > 0) {
                takahashiMonster.hp -= aokiMonster.attack;
            }
        }

        if(takahashiMonster.hp > 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        scan.close();
        return;
    }
} Main
import java.util.Scanner;
     
public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        
        class Monster {
            int hp;
            int attack;

            Monster(int hp0, int attack0) {
                hp = hp0;
                attack = attack0;
            }
        }

        Monster takahashiMonster = new Monster(
            scan.nextInt(),
            scan.nextInt()
        );
        Monster aokiMonster = new Monster(
            scan.nextInt(),
            scan.nextInt()
        );

        while(takahashiMonster.hp > 0 && aokiMonster.hp > 0) {
            aokiMonster.hp -= takahashiMonster.attack;

            if(aokiMonster.hp > 0) {
                takahashiMonster.hp -= aokiMonster.attack;
            }
        }

        if(takahashiMonster.hp > 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        scan.close();
        return;
    }
}