import java.util.*;

public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.run();
    }
    
    // 変数一覧
    int a;
    int b;
    int c;
    int d;

    public void run() {
        // 入力情報取得
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        d = sc.nextInt();
        sc.close();

        // 解答処理
        solve();
    }
    
    private void solve() {
        c -= b;
        if (c < 1) {
            System.out.println("Yes");
            return;
        }
        a -= d;
        if (a < 1) {
            System.out.println("No");
            return;
        }
        solve();
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.run();
    }
    
    // 変数一覧
    int a;
    int b;
    int c;
    int d;

    public void run() {
        // 入力情報取得
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        d = sc.nextInt();
        sc.close();

        // 解答処理
        solve();
    }
    
    private void solve() {
        c -= b;
        if (c < 1) {
            System.out.println("Yes");
            return;
        }
        a -= d;
        if (a < 1) {
            System.out.println("No");
            return;
        }
        solve();
    }
} Main // 変数一覧
    int a; a int b; b int c; c int d; d public static void main(String[] args) {
        Main main = new Main();
        main.run();
    } main {
        Main main = new Main();
        main.run();
    } Main main = new Main(); main new Main() main.run() main.run main String[] args args public void run() {
        // 入力情報取得
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        d = sc.nextInt();
        sc.close();

        // 解答処理
        solve();
    } run {
        // 入力情報取得
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        d = sc.nextInt();
        sc.close();

        // 解答処理
        solve();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc c = sc.nextInt() c sc.nextInt() sc.nextInt sc d = sc.nextInt() d sc.nextInt() sc.nextInt sc sc.close() sc.close sc solve() solve private void solve() {
        c -= b;
        if (c < 1) {
            System.out.println("Yes");
            return;
        }
        a -= d;
        if (a < 1) {
            System.out.println("No");
            return;
        }
        solve();
    } solve {
        c -= b;
        if (c < 1) {
            System.out.println("Yes");
            return;
        }
        a -= d;
        if (a < 1) {
            System.out.println("No");
            return;
        }
        solve();
    } c -= b c b if (c < 1) {
            System.out.println("Yes");
            return;
        } c < 1 c 1 {
            System.out.println("Yes");
            return;
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" return; a -= d a d if (a < 1) {
            System.out.println("No");
            return;
        } a < 1 a 1 {
            System.out.println("No");
            return;
        } System.out.println("No") System.out.println System.out System System.out "No" return; solve() solve public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.run();
    }
    
    // 変数一覧
    int a;
    int b;
    int c;
    int d;

    public void run() {
        // 入力情報取得
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        d = sc.nextInt();
        sc.close();

        // 解答処理
        solve();
    }
    
    private void solve() {
        c -= b;
        if (c < 1) {
            System.out.println("Yes");
            return;
        }
        a -= d;
        if (a < 1) {
            System.out.println("No");
            return;
        }
        solve();
    }
} public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.run();
    }
    
    // 変数一覧
    int a;
    int b;
    int c;
    int d;

    public void run() {
        // 入力情報取得
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        d = sc.nextInt();
        sc.close();

        // 解答処理
        solve();
    }
    
    private void solve() {
        c -= b;
        if (c < 1) {
            System.out.println("Yes");
            return;
        }
        a -= d;
        if (a < 1) {
            System.out.println("No");
            return;
        }
        solve();
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.run();
    }
    
    // 変数一覧
    int a;
    int b;
    int c;
    int d;

    public void run() {
        // 入力情報取得
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        d = sc.nextInt();
        sc.close();

        // 解答処理
        solve();
    }
    
    private void solve() {
        c -= b;
        if (c < 1) {
            System.out.println("Yes");
            return;
        }
        a -= d;
        if (a < 1) {
            System.out.println("No");
            return;
        }
        solve();
    }
}