import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner s = new Scanner(System.in);

        // 高橋、青木モンスター設定
        int takaMHp = s.nextInt();
        final int TAKA_M_ATK = s.nextInt();
        int aokiMHp = s.nextInt();
        final int AOKI_M_ATK = s.nextInt();

        int x = 1;
        while (true) {
            if (x % 2 == 1) {
                // 高橋ターン
                aokiMHp -= TAKA_M_ATK;
            } else {
                // 青木ターン
                takaMHp -= AOKI_M_ATK;
            }

            if (aokiMHp <= 0 || takaMHp <= 0) {
                break;
            }
            x += 1;
        }

        if (takaMHp > 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
  }
} import java.util.Scanner; Scanner java.util public class Main {
  public static void main(String[] args) {
    Scanner s = new Scanner(System.in);

        // 高橋、青木モンスター設定
        int takaMHp = s.nextInt();
        final int TAKA_M_ATK = s.nextInt();
        int aokiMHp = s.nextInt();
        final int AOKI_M_ATK = s.nextInt();

        int x = 1;
        while (true) {
            if (x % 2 == 1) {
                // 高橋ターン
                aokiMHp -= TAKA_M_ATK;
            } else {
                // 青木ターン
                takaMHp -= AOKI_M_ATK;
            }

            if (aokiMHp <= 0 || takaMHp <= 0) {
                break;
            }
            x += 1;
        }

        if (takaMHp > 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
  }
} Main public static void main(String[] args) {
    Scanner s = new Scanner(System.in);

        // 高橋、青木モンスター設定
        int takaMHp = s.nextInt();
        final int TAKA_M_ATK = s.nextInt();
        int aokiMHp = s.nextInt();
        final int AOKI_M_ATK = s.nextInt();

        int x = 1;
        while (true) {
            if (x % 2 == 1) {
                // 高橋ターン
                aokiMHp -= TAKA_M_ATK;
            } else {
                // 青木ターン
                takaMHp -= AOKI_M_ATK;
            }

            if (aokiMHp <= 0 || takaMHp <= 0) {
                break;
            }
            x += 1;
        }

        if (takaMHp > 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
  } main {
    Scanner s = new Scanner(System.in);

        // 高橋、青木モンスター設定
        int takaMHp = s.nextInt();
        final int TAKA_M_ATK = s.nextInt();
        int aokiMHp = s.nextInt();
        final int AOKI_M_ATK = s.nextInt();

        int x = 1;
        while (true) {
            if (x % 2 == 1) {
                // 高橋ターン
                aokiMHp -= TAKA_M_ATK;
            } else {
                // 青木ターン
                takaMHp -= AOKI_M_ATK;
            }

            if (aokiMHp <= 0 || takaMHp <= 0) {
                break;
            }
            x += 1;
        }

        if (takaMHp > 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
  } Scanner s = new Scanner(System.in); s new Scanner(System.in) int takaMHp = s.nextInt(); takaMHp s.nextInt() s.nextInt s final int TAKA_M_ATK = s.nextInt(); TAKA_M_ATK s.nextInt() s.nextInt s int aokiMHp = s.nextInt(); aokiMHp s.nextInt() s.nextInt s final int AOKI_M_ATK = s.nextInt(); AOKI_M_ATK s.nextInt() s.nextInt s int x = 1; x 1 while (true) {
            if (x % 2 == 1) {
                // 高橋ターン
                aokiMHp -= TAKA_M_ATK;
            } else {
                // 青木ターン
                takaMHp -= AOKI_M_ATK;
            }

            if (aokiMHp <= 0 || takaMHp <= 0) {
                break;
            }
            x += 1;
        } true {
            if (x % 2 == 1) {
                // 高橋ターン
                aokiMHp -= TAKA_M_ATK;
            } else {
                // 青木ターン
                takaMHp -= AOKI_M_ATK;
            }

            if (aokiMHp <= 0 || takaMHp <= 0) {
                break;
            }
            x += 1;
        } if (x % 2 == 1) {
                // 高橋ターン
                aokiMHp -= TAKA_M_ATK;
            } else {
                // 青木ターン
                takaMHp -= AOKI_M_ATK;
            } x % 2 == 1 x % 2 x 2 1 {
                // 高橋ターン
                aokiMHp -= TAKA_M_ATK;
            } aokiMHp -= TAKA_M_ATK aokiMHp TAKA_M_ATK {
                // 青木ターン
                takaMHp -= AOKI_M_ATK;
            } takaMHp -= AOKI_M_ATK takaMHp AOKI_M_ATK if (aokiMHp <= 0 || takaMHp <= 0) {
                break;
            } aokiMHp <= 0 || takaMHp <= 0 aokiMHp <= 0 aokiMHp 0 takaMHp <= 0 takaMHp 0 {
                break;
            } break; x += 1 x 1 if (takaMHp > 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } takaMHp > 0 takaMHp 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" String[] args args public class Main {
  public static void main(String[] args) {
    Scanner s = new Scanner(System.in);

        // 高橋、青木モンスター設定
        int takaMHp = s.nextInt();
        final int TAKA_M_ATK = s.nextInt();
        int aokiMHp = s.nextInt();
        final int AOKI_M_ATK = s.nextInt();

        int x = 1;
        while (true) {
            if (x % 2 == 1) {
                // 高橋ターン
                aokiMHp -= TAKA_M_ATK;
            } else {
                // 青木ターン
                takaMHp -= AOKI_M_ATK;
            }

            if (aokiMHp <= 0 || takaMHp <= 0) {
                break;
            }
            x += 1;
        }

        if (takaMHp > 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
  }
} public class Main {
  public static void main(String[] args) {
    Scanner s = new Scanner(System.in);

        // 高橋、青木モンスター設定
        int takaMHp = s.nextInt();
        final int TAKA_M_ATK = s.nextInt();
        int aokiMHp = s.nextInt();
        final int AOKI_M_ATK = s.nextInt();

        int x = 1;
        while (true) {
            if (x % 2 == 1) {
                // 高橋ターン
                aokiMHp -= TAKA_M_ATK;
            } else {
                // 青木ターン
                takaMHp -= AOKI_M_ATK;
            }

            if (aokiMHp <= 0 || takaMHp <= 0) {
                break;
            }
            x += 1;
        }

        if (takaMHp > 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
  }
} Main
import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner s = new Scanner(System.in);

        // 高橋、青木モンスター設定
        int takaMHp = s.nextInt();
        final int TAKA_M_ATK = s.nextInt();
        int aokiMHp = s.nextInt();
        final int AOKI_M_ATK = s.nextInt();

        int x = 1;
        while (true) {
            if (x % 2 == 1) {
                // 高橋ターン
                aokiMHp -= TAKA_M_ATK;
            } else {
                // 青木ターン
                takaMHp -= AOKI_M_ATK;
            }

            if (aokiMHp <= 0 || takaMHp <= 0) {
                break;
            }
            x += 1;
        }

        if (takaMHp > 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
  }
}