import java.util.*;


public class Main {
    public static void main(String[] args) {

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

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

        Scanner sc = new Scanner(System.in);
        int[] n = new int[5];
        
        
        for(int i = 0;i < 5;i++){
            n[i] = sc.nextInt();
        }
        
        int betwen = sc.nextInt();
        
        int max = n[0];
        int min = n[0];
        
        for(int i : n){
            if(max < i){
                max = i;
                
            }
            if(min > i){
                min = i;
            }
        }
        
        if(max - min <= betwen){
            System.out.println("Yay!");
        }else{
            System.out.println(":(");
        }
    } main {

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

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

        Scanner sc = new Scanner(System.in);
        int[] n = new int[5];
        
        
        for(int i = 0;i < 5;i++){
            n[i] = sc.nextInt();
        }
        
        int betwen = sc.nextInt();
        
        int max = n[0];
        int min = n[0];
        
        for(int i : n){
            if(max < i){
                max = i;
                
            }
            if(min > i){
                min = i;
            }
        }
        
        if(max - min <= betwen){
            System.out.println("Yay!");
        }else{
            System.out.println(":(");
        }
    }
} Main
import java.util.*;


public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int[] n = new int[5];
        
        
        for(int i = 0;i < 5;i++){
            n[i] = sc.nextInt();
        }
        
        int betwen = sc.nextInt();
        
        int max = n[0];
        int min = n[0];
        
        for(int i : n){
            if(max < i){
                max = i;
                
            }
            if(min > i){
                min = i;
            }
        }
        
        if(max - min <= betwen){
            System.out.println("Yay!");
        }else{
            System.out.println(":(");
        }
    }
}