import java.util.Scanner ;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner (System.in);
       // int n = sc.nextInt();
        int a[] = new int[6];
        int count = 0 ; 
        for(int i=0 ; i<6 ; i++){
            a[i]= sc.nextInt();
        }
        for(int i= 0 ; i <6-1 ; i++){
            for(int j =i+1; j<6 ; j++ ){
                
                if((a[j]-a[i])>a[6-1])
                    
                        count++;
            }
            
            
        }
        if(count>0)System.out.println(":(");
        else System.out.println("Yay!");
    }
 
} import java.util.Scanner ; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner (System.in);
       // int n = sc.nextInt();
        int a[] = new int[6];
        int count = 0 ; 
        for(int i=0 ; i<6 ; i++){
            a[i]= sc.nextInt();
        }
        for(int i= 0 ; i <6-1 ; i++){
            for(int j =i+1; j<6 ; j++ ){
                
                if((a[j]-a[i])>a[6-1])
                    
                        count++;
            }
            
            
        }
        if(count>0)System.out.println(":(");
        else System.out.println("Yay!");
    }
 
} Main public static void main(String[] args) {
        Scanner sc = new Scanner (System.in);
       // int n = sc.nextInt();
        int a[] = new int[6];
        int count = 0 ; 
        for(int i=0 ; i<6 ; i++){
            a[i]= sc.nextInt();
        }
        for(int i= 0 ; i <6-1 ; i++){
            for(int j =i+1; j<6 ; j++ ){
                
                if((a[j]-a[i])>a[6-1])
                    
                        count++;
            }
            
            
        }
        if(count>0)System.out.println(":(");
        else System.out.println("Yay!");
    } main {
        Scanner sc = new Scanner (System.in);
       // int n = sc.nextInt();
        int a[] = new int[6];
        int count = 0 ; 
        for(int i=0 ; i<6 ; i++){
            a[i]= sc.nextInt();
        }
        for(int i= 0 ; i <6-1 ; i++){
            for(int j =i+1; j<6 ; j++ ){
                
                if((a[j]-a[i])>a[6-1])
                    
                        count++;
            }
            
            
        }
        if(count>0)System.out.println(":(");
        else System.out.println("Yay!");
    } Scanner sc = new Scanner (System.in); sc new Scanner (System.in) int a[] = new int[6]; a new int[6] 6 int count = 0 ; count 0 for(int i=0 ; i<6 ; i++){
            a[i]= sc.nextInt();
        } int i=0 ; int i=0 ; i 0 i<6 i 6 i++ i++ i {
            a[i]= sc.nextInt();
        } {
            a[i]= sc.nextInt();
        } a[i]= sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc for(int i= 0 ; i <6-1 ; i++){
            for(int j =i+1; j<6 ; j++ ){
                
                if((a[j]-a[i])>a[6-1])
                    
                        count++;
            }
            
            
        } int i= 0 ; int i= 0 ; i 0 i <6-1 i 6-1 6 1 i++ i++ i {
            for(int j =i+1; j<6 ; j++ ){
                
                if((a[j]-a[i])>a[6-1])
                    
                        count++;
            }
            
            
        } {
            for(int j =i+1; j<6 ; j++ ){
                
                if((a[j]-a[i])>a[6-1])
                    
                        count++;
            }
            
            
        } for(int j =i+1; j<6 ; j++ ){
                
                if((a[j]-a[i])>a[6-1])
                    
                        count++;
            } int j =i+1; int j =i+1; j i+1 i 1 j<6 j 6 j++ j++ j {
                
                if((a[j]-a[i])>a[6-1])
                    
                        count++;
            } {
                
                if((a[j]-a[i])>a[6-1])
                    
                        count++;
            } if((a[j]-a[i])>a[6-1])
                    
                        count++; (a[j]-a[i])>a[6-1] (a[j]-a[i]) a[j] a j a[i] a i a[6-1] a 6-1 6 1 count++ count if(count>0)System.out.println(":(");
        else System.out.println("Yay!"); count>0 count 0 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) {
        Scanner sc = new Scanner (System.in);
       // int n = sc.nextInt();
        int a[] = new int[6];
        int count = 0 ; 
        for(int i=0 ; i<6 ; i++){
            a[i]= sc.nextInt();
        }
        for(int i= 0 ; i <6-1 ; i++){
            for(int j =i+1; j<6 ; j++ ){
                
                if((a[j]-a[i])>a[6-1])
                    
                        count++;
            }
            
            
        }
        if(count>0)System.out.println(":(");
        else System.out.println("Yay!");
    }
 
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner (System.in);
       // int n = sc.nextInt();
        int a[] = new int[6];
        int count = 0 ; 
        for(int i=0 ; i<6 ; i++){
            a[i]= sc.nextInt();
        }
        for(int i= 0 ; i <6-1 ; i++){
            for(int j =i+1; j<6 ; j++ ){
                
                if((a[j]-a[i])>a[6-1])
                    
                        count++;
            }
            
            
        }
        if(count>0)System.out.println(":(");
        else System.out.println("Yay!");
    }
 
} Main
import java.util.Scanner ;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner (System.in);
       // int n = sc.nextInt();
        int a[] = new int[6];
        int count = 0 ; 
        for(int i=0 ; i<6 ; i++){
            a[i]= sc.nextInt();
        }
        for(int i= 0 ; i <6-1 ; i++){
            for(int j =i+1; j<6 ; j++ ){
                
                if((a[j]-a[i])>a[6-1])
                    
                        count++;
            }
            
            
        }
        if(count>0)System.out.println(":(");
        else System.out.println("Yay!");
    }
 
}
