import java.util.Scanner;
 
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
      	int[] inputNum = new int[6];
 
		for(int i = 0 ; i < inputNum.length; i++) {
			inputNum[i] = sc.nextInt();
          //コードテスト用
          	//System.out.println(inputNum[i]);
		}
      
    	
      	int min = inputNum[0];
      	int max = inputNum[0];
       	for(int i = 1 ; i < inputNum.length-1; i++) {
			if(inputNum[i] <= min){
            	min = inputNum[i];
            }
            if(inputNum[i] >= max){
            	max = inputNum[i];
            }
		}
      
      	//コードテスト用
      	//int distance = max-min;
      	//System.out.println(distance);
      
      	if(max-min > inputNum[5]){
        	System.out.print(":("); 
        }else{
          	System.out.print("Yay!");
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
      	int[] inputNum = new int[6];
 
		for(int i = 0 ; i < inputNum.length; i++) {
			inputNum[i] = sc.nextInt();
          //コードテスト用
          	//System.out.println(inputNum[i]);
		}
      
    	
      	int min = inputNum[0];
      	int max = inputNum[0];
       	for(int i = 1 ; i < inputNum.length-1; i++) {
			if(inputNum[i] <= min){
            	min = inputNum[i];
            }
            if(inputNum[i] >= max){
            	max = inputNum[i];
            }
		}
      
      	//コードテスト用
      	//int distance = max-min;
      	//System.out.println(distance);
      
      	if(max-min > inputNum[5]){
        	System.out.print(":("); 
        }else{
          	System.out.print("Yay!");
        }
    }
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
      	int[] inputNum = new int[6];
 
		for(int i = 0 ; i < inputNum.length; i++) {
			inputNum[i] = sc.nextInt();
          //コードテスト用
          	//System.out.println(inputNum[i]);
		}
      
    	
      	int min = inputNum[0];
      	int max = inputNum[0];
       	for(int i = 1 ; i < inputNum.length-1; i++) {
			if(inputNum[i] <= min){
            	min = inputNum[i];
            }
            if(inputNum[i] >= max){
            	max = inputNum[i];
            }
		}
      
      	//コードテスト用
      	//int distance = max-min;
      	//System.out.println(distance);
      
      	if(max-min > inputNum[5]){
        	System.out.print(":("); 
        }else{
          	System.out.print("Yay!");
        }
    } main {
		Scanner sc = new Scanner(System.in);
      	int[] inputNum = new int[6];
 
		for(int i = 0 ; i < inputNum.length; i++) {
			inputNum[i] = sc.nextInt();
          //コードテスト用
          	//System.out.println(inputNum[i]);
		}
      
    	
      	int min = inputNum[0];
      	int max = inputNum[0];
       	for(int i = 1 ; i < inputNum.length-1; i++) {
			if(inputNum[i] <= min){
            	min = inputNum[i];
            }
            if(inputNum[i] >= max){
            	max = inputNum[i];
            }
		}
      
      	//コードテスト用
      	//int distance = max-min;
      	//System.out.println(distance);
      
      	if(max-min > inputNum[5]){
        	System.out.print(":("); 
        }else{
          	System.out.print("Yay!");
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] inputNum = new int[6]; inputNum new int[6] 6 for(int i = 0 ; i < inputNum.length; i++) {
			inputNum[i] = sc.nextInt();
          //コードテスト用
          	//System.out.println(inputNum[i]);
		} int i = 0 ; int i = 0 ; i 0 i < inputNum.length i inputNum.length inputNum inputNum.length i++ i++ i {
			inputNum[i] = sc.nextInt();
          //コードテスト用
          	//System.out.println(inputNum[i]);
		} {
			inputNum[i] = sc.nextInt();
          //コードテスト用
          	//System.out.println(inputNum[i]);
		} inputNum[i] = sc.nextInt() inputNum[i] inputNum i sc.nextInt() sc.nextInt sc int min = inputNum[0]; min inputNum[0] inputNum 0 int max = inputNum[0]; max inputNum[0] inputNum 0 for(int i = 1 ; i < inputNum.length-1; i++) {
			if(inputNum[i] <= min){
            	min = inputNum[i];
            }
            if(inputNum[i] >= max){
            	max = inputNum[i];
            }
		} int i = 1 ; int i = 1 ; i 1 i < inputNum.length-1 i inputNum.length-1 inputNum.length inputNum inputNum.length 1 i++ i++ i {
			if(inputNum[i] <= min){
            	min = inputNum[i];
            }
            if(inputNum[i] >= max){
            	max = inputNum[i];
            }
		} {
			if(inputNum[i] <= min){
            	min = inputNum[i];
            }
            if(inputNum[i] >= max){
            	max = inputNum[i];
            }
		} if(inputNum[i] <= min){
            	min = inputNum[i];
            } inputNum[i] <= min inputNum[i] inputNum i min {
            	min = inputNum[i];
            } min = inputNum[i] min inputNum[i] inputNum i if(inputNum[i] >= max){
            	max = inputNum[i];
            } inputNum[i] >= max inputNum[i] inputNum i max {
            	max = inputNum[i];
            } max = inputNum[i] max inputNum[i] inputNum i if(max-min > inputNum[5]){
        	System.out.print(":("); 
        }else{
          	System.out.print("Yay!");
        } max-min > inputNum[5] max-min max min inputNum[5] inputNum 5 {
        	System.out.print(":("); 
        } System.out.print(":(") System.out.print System.out System System.out ":(" {
          	System.out.print("Yay!");
        } System.out.print("Yay!") System.out.print 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[] inputNum = new int[6];
 
		for(int i = 0 ; i < inputNum.length; i++) {
			inputNum[i] = sc.nextInt();
          //コードテスト用
          	//System.out.println(inputNum[i]);
		}
      
    	
      	int min = inputNum[0];
      	int max = inputNum[0];
       	for(int i = 1 ; i < inputNum.length-1; i++) {
			if(inputNum[i] <= min){
            	min = inputNum[i];
            }
            if(inputNum[i] >= max){
            	max = inputNum[i];
            }
		}
      
      	//コードテスト用
      	//int distance = max-min;
      	//System.out.println(distance);
      
      	if(max-min > inputNum[5]){
        	System.out.print(":("); 
        }else{
          	System.out.print("Yay!");
        }
    }
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
      	int[] inputNum = new int[6];
 
		for(int i = 0 ; i < inputNum.length; i++) {
			inputNum[i] = sc.nextInt();
          //コードテスト用
          	//System.out.println(inputNum[i]);
		}
      
    	
      	int min = inputNum[0];
      	int max = inputNum[0];
       	for(int i = 1 ; i < inputNum.length-1; i++) {
			if(inputNum[i] <= min){
            	min = inputNum[i];
            }
            if(inputNum[i] >= max){
            	max = inputNum[i];
            }
		}
      
      	//コードテスト用
      	//int distance = max-min;
      	//System.out.println(distance);
      
      	if(max-min > inputNum[5]){
        	System.out.print(":("); 
        }else{
          	System.out.print("Yay!");
        }
    }
} Main
import java.util.Scanner;
 
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
      	int[] inputNum = new int[6];
 
		for(int i = 0 ; i < inputNum.length; i++) {
			inputNum[i] = sc.nextInt();
          //コードテスト用
          	//System.out.println(inputNum[i]);
		}
      
    	
      	int min = inputNum[0];
      	int max = inputNum[0];
       	for(int i = 1 ; i < inputNum.length-1; i++) {
			if(inputNum[i] <= min){
            	min = inputNum[i];
            }
            if(inputNum[i] >= max){
            	max = inputNum[i];
            }
		}
      
      	//コードテスト用
      	//int distance = max-min;
      	//System.out.println(distance);
      
      	if(max-min > inputNum[5]){
        	System.out.print(":("); 
        }else{
          	System.out.print("Yay!");
        }
    }
}