
import java.util.Scanner;

public class Main {

    /*
     * https://atcoder.jp/contests/abc164/tasks/abc164_a
     */

    public static void main(String[] args) {

        Scanner stdIn = new Scanner(System.in);
        String input = stdIn.nextLine();
        stdIn.close();

        String[] arguments = input.split(" ");
        int t_hp = Integer.valueOf(arguments[0]);
        int t_att = Integer.valueOf(arguments[1]);
        int a_hp = Integer.valueOf(arguments[2]);
        int a_att = Integer.valueOf(arguments[3]);

        String result = "Yes";

        while (true) {

            a_hp = a_hp - t_att;
            if (a_hp <= 0) {
                break;
            }

            t_hp = t_hp - a_att;
            if (t_hp <= 0) {
                result = "No";
                break;
            }
        }

        System.out.println(result);
    }
} import java.util.Scanner; Scanner java.util public class Main {

    /*
     * https://atcoder.jp/contests/abc164/tasks/abc164_a
     */

    public static void main(String[] args) {

        Scanner stdIn = new Scanner(System.in);
        String input = stdIn.nextLine();
        stdIn.close();

        String[] arguments = input.split(" ");
        int t_hp = Integer.valueOf(arguments[0]);
        int t_att = Integer.valueOf(arguments[1]);
        int a_hp = Integer.valueOf(arguments[2]);
        int a_att = Integer.valueOf(arguments[3]);

        String result = "Yes";

        while (true) {

            a_hp = a_hp - t_att;
            if (a_hp <= 0) {
                break;
            }

            t_hp = t_hp - a_att;
            if (t_hp <= 0) {
                result = "No";
                break;
            }
        }

        System.out.println(result);
    }
} Main public static void main(String[] args) {

        Scanner stdIn = new Scanner(System.in);
        String input = stdIn.nextLine();
        stdIn.close();

        String[] arguments = input.split(" ");
        int t_hp = Integer.valueOf(arguments[0]);
        int t_att = Integer.valueOf(arguments[1]);
        int a_hp = Integer.valueOf(arguments[2]);
        int a_att = Integer.valueOf(arguments[3]);

        String result = "Yes";

        while (true) {

            a_hp = a_hp - t_att;
            if (a_hp <= 0) {
                break;
            }

            t_hp = t_hp - a_att;
            if (t_hp <= 0) {
                result = "No";
                break;
            }
        }

        System.out.println(result);
    } main {

        Scanner stdIn = new Scanner(System.in);
        String input = stdIn.nextLine();
        stdIn.close();

        String[] arguments = input.split(" ");
        int t_hp = Integer.valueOf(arguments[0]);
        int t_att = Integer.valueOf(arguments[1]);
        int a_hp = Integer.valueOf(arguments[2]);
        int a_att = Integer.valueOf(arguments[3]);

        String result = "Yes";

        while (true) {

            a_hp = a_hp - t_att;
            if (a_hp <= 0) {
                break;
            }

            t_hp = t_hp - a_att;
            if (t_hp <= 0) {
                result = "No";
                break;
            }
        }

        System.out.println(result);
    } Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) String input = stdIn.nextLine(); input stdIn.nextLine() stdIn.nextLine stdIn stdIn.close() stdIn.close stdIn String[] arguments = input.split(" "); arguments input.split(" ") input.split input " " int t_hp = Integer.valueOf(arguments[0]); t_hp Integer.valueOf(arguments[0]) Integer.valueOf Integer arguments[0] arguments 0 int t_att = Integer.valueOf(arguments[1]); t_att Integer.valueOf(arguments[1]) Integer.valueOf Integer arguments[1] arguments 1 int a_hp = Integer.valueOf(arguments[2]); a_hp Integer.valueOf(arguments[2]) Integer.valueOf Integer arguments[2] arguments 2 int a_att = Integer.valueOf(arguments[3]); a_att Integer.valueOf(arguments[3]) Integer.valueOf Integer arguments[3] arguments 3 String result = "Yes"; result "Yes" while (true) {

            a_hp = a_hp - t_att;
            if (a_hp <= 0) {
                break;
            }

            t_hp = t_hp - a_att;
            if (t_hp <= 0) {
                result = "No";
                break;
            }
        } true {

            a_hp = a_hp - t_att;
            if (a_hp <= 0) {
                break;
            }

            t_hp = t_hp - a_att;
            if (t_hp <= 0) {
                result = "No";
                break;
            }
        } a_hp = a_hp - t_att a_hp a_hp - t_att a_hp t_att if (a_hp <= 0) {
                break;
            } a_hp <= 0 a_hp 0 {
                break;
            } break; t_hp = t_hp - a_att t_hp t_hp - a_att t_hp a_att if (t_hp <= 0) {
                result = "No";
                break;
            } t_hp <= 0 t_hp 0 {
                result = "No";
                break;
            } result = "No" result "No" break; System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main {

    /*
     * https://atcoder.jp/contests/abc164/tasks/abc164_a
     */

    public static void main(String[] args) {

        Scanner stdIn = new Scanner(System.in);
        String input = stdIn.nextLine();
        stdIn.close();

        String[] arguments = input.split(" ");
        int t_hp = Integer.valueOf(arguments[0]);
        int t_att = Integer.valueOf(arguments[1]);
        int a_hp = Integer.valueOf(arguments[2]);
        int a_att = Integer.valueOf(arguments[3]);

        String result = "Yes";

        while (true) {

            a_hp = a_hp - t_att;
            if (a_hp <= 0) {
                break;
            }

            t_hp = t_hp - a_att;
            if (t_hp <= 0) {
                result = "No";
                break;
            }
        }

        System.out.println(result);
    }
} public class Main {

    /*
     * https://atcoder.jp/contests/abc164/tasks/abc164_a
     */

    public static void main(String[] args) {

        Scanner stdIn = new Scanner(System.in);
        String input = stdIn.nextLine();
        stdIn.close();

        String[] arguments = input.split(" ");
        int t_hp = Integer.valueOf(arguments[0]);
        int t_att = Integer.valueOf(arguments[1]);
        int a_hp = Integer.valueOf(arguments[2]);
        int a_att = Integer.valueOf(arguments[3]);

        String result = "Yes";

        while (true) {

            a_hp = a_hp - t_att;
            if (a_hp <= 0) {
                break;
            }

            t_hp = t_hp - a_att;
            if (t_hp <= 0) {
                result = "No";
                break;
            }
        }

        System.out.println(result);
    }
} Main

import java.util.Scanner;

public class Main {

    /*
     * https://atcoder.jp/contests/abc164/tasks/abc164_a
     */

    public static void main(String[] args) {

        Scanner stdIn = new Scanner(System.in);
        String input = stdIn.nextLine();
        stdIn.close();

        String[] arguments = input.split(" ");
        int t_hp = Integer.valueOf(arguments[0]);
        int t_att = Integer.valueOf(arguments[1]);
        int a_hp = Integer.valueOf(arguments[2]);
        int a_att = Integer.valueOf(arguments[3]);

        String result = "Yes";

        while (true) {

            a_hp = a_hp - t_att;
            if (a_hp <= 0) {
                break;
            }

            t_hp = t_hp - a_att;
            if (t_hp <= 0) {
                result = "No";
                break;
            }
        }

        System.out.println(result);
    }
}