import java.util.*;
import java.lang.Math;

class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int[] x = {0,0,0,0,0,0};
        //         a,b,c,d,e
        for(int i = 0; i < x.length ; i++){
            x[i] = sc.nextInt();
        }
        int judge = 0;
        for(int i = 0;i < x.length-1;i++){
            for(int j = 1; j < x.length;j++){
                if(Math.abs(x[i] - x[j]) > x[5]){
                    judge = 1;
                }
            }
        }
        if(judge == 1){
            System.out.println(":(");
        }else{
            System.out.println("Yay!");
        }

    }
} import java.util.*; util.* java import java.lang.Math; Math java.lang class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int[] x = {0,0,0,0,0,0};
        //         a,b,c,d,e
        for(int i = 0; i < x.length ; i++){
            x[i] = sc.nextInt();
        }
        int judge = 0;
        for(int i = 0;i < x.length-1;i++){
            for(int j = 1; j < x.length;j++){
                if(Math.abs(x[i] - x[j]) > x[5]){
                    judge = 1;
                }
            }
        }
        if(judge == 1){
            System.out.println(":(");
        }else{
            System.out.println("Yay!");
        }

    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int[] x = {0,0,0,0,0,0};
        //         a,b,c,d,e
        for(int i = 0; i < x.length ; i++){
            x[i] = sc.nextInt();
        }
        int judge = 0;
        for(int i = 0;i < x.length-1;i++){
            for(int j = 1; j < x.length;j++){
                if(Math.abs(x[i] - x[j]) > x[5]){
                    judge = 1;
                }
            }
        }
        if(judge == 1){
            System.out.println(":(");
        }else{
            System.out.println("Yay!");
        }

    } main {
        Scanner sc = new Scanner(System.in);
        int[] x = {0,0,0,0,0,0};
        //         a,b,c,d,e
        for(int i = 0; i < x.length ; i++){
            x[i] = sc.nextInt();
        }
        int judge = 0;
        for(int i = 0;i < x.length-1;i++){
            for(int j = 1; j < x.length;j++){
                if(Math.abs(x[i] - x[j]) > x[5]){
                    judge = 1;
                }
            }
        }
        if(judge == 1){
            System.out.println(":(");
        }else{
            System.out.println("Yay!");
        }

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] x = {0,0,0,0,0,0}; x {0,0,0,0,0,0} 0 0 0 0 0 0 for(int i = 0; i < x.length ; i++){
            x[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < x.length i x.length x x.length i++ i++ i {
            x[i] = sc.nextInt();
        } {
            x[i] = sc.nextInt();
        } x[i] = sc.nextInt() x[i] x i sc.nextInt() sc.nextInt sc int judge = 0; judge 0 for(int i = 0;i < x.length-1;i++){
            for(int j = 1; j < x.length;j++){
                if(Math.abs(x[i] - x[j]) > x[5]){
                    judge = 1;
                }
            }
        } int i = 0; int i = 0; i 0 i < x.length-1 i x.length-1 x.length x x.length 1 i++ i++ i {
            for(int j = 1; j < x.length;j++){
                if(Math.abs(x[i] - x[j]) > x[5]){
                    judge = 1;
                }
            }
        } {
            for(int j = 1; j < x.length;j++){
                if(Math.abs(x[i] - x[j]) > x[5]){
                    judge = 1;
                }
            }
        } for(int j = 1; j < x.length;j++){
                if(Math.abs(x[i] - x[j]) > x[5]){
                    judge = 1;
                }
            } int j = 1; int j = 1; j 1 j < x.length j x.length x x.length j++ j++ j {
                if(Math.abs(x[i] - x[j]) > x[5]){
                    judge = 1;
                }
            } {
                if(Math.abs(x[i] - x[j]) > x[5]){
                    judge = 1;
                }
            } if(Math.abs(x[i] - x[j]) > x[5]){
                    judge = 1;
                } Math.abs(x[i] - x[j]) > x[5] Math.abs(x[i] - x[j]) Math.abs Math x[i] - x[j] x[i] x i x[j] x j x[5] x 5 {
                    judge = 1;
                } judge = 1 judge 1 if(judge == 1){
            System.out.println(":(");
        }else{
            System.out.println("Yay!");
        } judge == 1 judge 1 {
            System.out.println(":(");
        } System.out.println(":(") System.out.println System.out System System.out ":(" {
            System.out.println("Yay!");
        } System.out.println("Yay!") System.out.println System.out System System.out "Yay!" String[] args args
import java.util.*;
import java.lang.Math;

class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int[] x = {0,0,0,0,0,0};
        //         a,b,c,d,e
        for(int i = 0; i < x.length ; i++){
            x[i] = sc.nextInt();
        }
        int judge = 0;
        for(int i = 0;i < x.length-1;i++){
            for(int j = 1; j < x.length;j++){
                if(Math.abs(x[i] - x[j]) > x[5]){
                    judge = 1;
                }
            }
        }
        if(judge == 1){
            System.out.println(":(");
        }else{
            System.out.println("Yay!");
        }

    }
}