import java.util.*;

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

    public static String isIn(){
        int[] array = new int[5];
        Scanner scan = new Scanner(System.in);
        for(int i=0; i < 5; i++){
            array[i] = scan.nextInt();
        }
        boolean boolX = array[4] <= array[2] && array[2] + array[4] <= array[0];
        boolean boolY = array[4] <= array[3] && array[4] + array[3] <= array[1];
        if (boolX && boolY){
            return "Yes";
        }
        else{
            return "No";
        }
    }
} 
 import java.util.*; util.* java public class Main{
    public static void main(String[] args){
        System.out.println(Main.isIn());
    }

    public static String isIn(){
        int[] array = new int[5];
        Scanner scan = new Scanner(System.in);
        for(int i=0; i < 5; i++){
            array[i] = scan.nextInt();
        }
        boolean boolX = array[4] <= array[2] && array[2] + array[4] <= array[0];
        boolean boolY = array[4] <= array[3] && array[4] + array[3] <= array[1];
        if (boolX && boolY){
            return "Yes";
        }
        else{
            return "No";
        }
    }
} Main public static void main(String[] args){
        System.out.println(Main.isIn());
    } main {
        System.out.println(Main.isIn());
    } System.out.println(Main.isIn()) System.out.println System.out System System.out Main.isIn() Main.isIn Main String[] args args public static String isIn(){
        int[] array = new int[5];
        Scanner scan = new Scanner(System.in);
        for(int i=0; i < 5; i++){
            array[i] = scan.nextInt();
        }
        boolean boolX = array[4] <= array[2] && array[2] + array[4] <= array[0];
        boolean boolY = array[4] <= array[3] && array[4] + array[3] <= array[1];
        if (boolX && boolY){
            return "Yes";
        }
        else{
            return "No";
        }
    } isIn {
        int[] array = new int[5];
        Scanner scan = new Scanner(System.in);
        for(int i=0; i < 5; i++){
            array[i] = scan.nextInt();
        }
        boolean boolX = array[4] <= array[2] && array[2] + array[4] <= array[0];
        boolean boolY = array[4] <= array[3] && array[4] + array[3] <= array[1];
        if (boolX && boolY){
            return "Yes";
        }
        else{
            return "No";
        }
    } int[] array = new int[5]; array new int[5] 5 Scanner scan = new Scanner(System.in); scan new Scanner(System.in) for(int i=0; i < 5; i++){
            array[i] = scan.nextInt();
        } int i=0; int i=0; i 0 i < 5 i 5 i++ i++ i {
            array[i] = scan.nextInt();
        } {
            array[i] = scan.nextInt();
        } array[i] = scan.nextInt() array[i] array i scan.nextInt() scan.nextInt scan boolean boolX = array[4] <= array[2] && array[2] + array[4] <= array[0]; boolX array[4] <= array[2] && array[2] + array[4] <= array[0] array[4] <= array[2] array[4] array 4 array[2] array 2 array[2] + array[4] <= array[0] array[2] + array[4] array[2] array 2 array[4] array 4 array[0] array 0 boolean boolY = array[4] <= array[3] && array[4] + array[3] <= array[1]; boolY array[4] <= array[3] && array[4] + array[3] <= array[1] array[4] <= array[3] array[4] array 4 array[3] array 3 array[4] + array[3] <= array[1] array[4] + array[3] array[4] array 4 array[3] array 3 array[1] array 1 if (boolX && boolY){
            return "Yes";
        }
        else{
            return "No";
        } boolX && boolY boolX boolY {
            return "Yes";
        } return "Yes"; "Yes" {
            return "No";
        } return "No"; "No" public class Main{
    public static void main(String[] args){
        System.out.println(Main.isIn());
    }

    public static String isIn(){
        int[] array = new int[5];
        Scanner scan = new Scanner(System.in);
        for(int i=0; i < 5; i++){
            array[i] = scan.nextInt();
        }
        boolean boolX = array[4] <= array[2] && array[2] + array[4] <= array[0];
        boolean boolY = array[4] <= array[3] && array[4] + array[3] <= array[1];
        if (boolX && boolY){
            return "Yes";
        }
        else{
            return "No";
        }
    }
} public class Main{
    public static void main(String[] args){
        System.out.println(Main.isIn());
    }

    public static String isIn(){
        int[] array = new int[5];
        Scanner scan = new Scanner(System.in);
        for(int i=0; i < 5; i++){
            array[i] = scan.nextInt();
        }
        boolean boolX = array[4] <= array[2] && array[2] + array[4] <= array[0];
        boolean boolY = array[4] <= array[3] && array[4] + array[3] <= array[1];
        if (boolX && boolY){
            return "Yes";
        }
        else{
            return "No";
        }
    }
} Main
import java.util.*;

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

    public static String isIn(){
        int[] array = new int[5];
        Scanner scan = new Scanner(System.in);
        for(int i=0; i < 5; i++){
            array[i] = scan.nextInt();
        }
        boolean boolX = array[4] <= array[2] && array[2] + array[4] <= array[0];
        boolean boolY = array[4] <= array[3] && array[4] + array[3] <= array[1];
        if (boolX && boolY){
            return "Yes";
        }
        else{
            return "No";
        }
    }
} 

