import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        
        int min = Integer.MAX_VALUE;
        int max = Integer.MIN_VALUE;
        for(int i = 0; i < 5; i++) {
            int n = sc.nextInt();
            min = Math.min(min, n);
            max = Math.max(max, n);
        }

        int k = sc.nextInt();
        if(max - min > k)
            System.out.println(":(");
        else
            System.out.println("Yay!");
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        
        int min = Integer.MAX_VALUE;
        int max = Integer.MIN_VALUE;
        for(int i = 0; i < 5; i++) {
            int n = sc.nextInt();
            min = Math.min(min, n);
            max = Math.max(max, n);
        }

        int k = sc.nextInt();
        if(max - min > k)
            System.out.println(":(");
        else
            System.out.println("Yay!");
    }
} Main public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        
        int min = Integer.MAX_VALUE;
        int max = Integer.MIN_VALUE;
        for(int i = 0; i < 5; i++) {
            int n = sc.nextInt();
            min = Math.min(min, n);
            max = Math.max(max, n);
        }

        int k = sc.nextInt();
        if(max - min > k)
            System.out.println(":(");
        else
            System.out.println("Yay!");
    } main {
        Scanner sc = new Scanner(System.in);
        
        int min = Integer.MAX_VALUE;
        int max = Integer.MIN_VALUE;
        for(int i = 0; i < 5; i++) {
            int n = sc.nextInt();
            min = Math.min(min, n);
            max = Math.max(max, n);
        }

        int k = sc.nextInt();
        if(max - min > k)
            System.out.println(":(");
        else
            System.out.println("Yay!");
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE int max = Integer.MIN_VALUE; max Integer.MIN_VALUE Integer Integer.MIN_VALUE for(int i = 0; i < 5; i++) {
            int n = sc.nextInt();
            min = Math.min(min, n);
            max = Math.max(max, n);
        } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
            int n = sc.nextInt();
            min = Math.min(min, n);
            max = Math.max(max, n);
        } {
            int n = sc.nextInt();
            min = Math.min(min, n);
            max = Math.max(max, n);
        } int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc min = Math.min(min, n) min Math.min(min, n) Math.min Math min n max = Math.max(max, n) max Math.max(max, n) Math.max Math max n int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc if(max - min > k)
            System.out.println(":(");
        else
            System.out.println("Yay!"); max - min > k max - min max min k System.out.println(":(") System.out.println System.out System System.out ":(" System.out.println("Yay!") System.out.println System.out System System.out "Yay!" String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        
        int min = Integer.MAX_VALUE;
        int max = Integer.MIN_VALUE;
        for(int i = 0; i < 5; i++) {
            int n = sc.nextInt();
            min = Math.min(min, n);
            max = Math.max(max, n);
        }

        int k = sc.nextInt();
        if(max - min > k)
            System.out.println(":(");
        else
            System.out.println("Yay!");
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        
        int min = Integer.MAX_VALUE;
        int max = Integer.MIN_VALUE;
        for(int i = 0; i < 5; i++) {
            int n = sc.nextInt();
            min = Math.min(min, n);
            max = Math.max(max, n);
        }

        int k = sc.nextInt();
        if(max - min > k)
            System.out.println(":(");
        else
            System.out.println("Yay!");
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        
        int min = Integer.MAX_VALUE;
        int max = Integer.MIN_VALUE;
        for(int i = 0; i < 5; i++) {
            int n = sc.nextInt();
            min = Math.min(min, n);
            max = Math.max(max, n);
        }

        int k = sc.nextInt();
        if(max - min > k)
            System.out.println(":(");
        else
            System.out.println("Yay!");
    }
}
