import java.util.Arrays;
import java.util.Scanner;

public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int[] num = new int[5];
		
		for(int i = 0; i<5; i++){
			num[i] = keyboard.nextInt();
		}
		
		int K = keyboard.nextInt();
		
		String ans = "Yay!";
		for(int j = 0; j<4; j++){
			for(int k = 1; k<5; k++){
				if(num[k] - num[j] > K){
					ans = ":(" ;
				}
			}
		}

		System.out.println(ans);
		keyboard.close();	
	}
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int[] num = new int[5];
		
		for(int i = 0; i<5; i++){
			num[i] = keyboard.nextInt();
		}
		
		int K = keyboard.nextInt();
		
		String ans = "Yay!";
		for(int j = 0; j<4; j++){
			for(int k = 1; k<5; k++){
				if(num[k] - num[j] > K){
					ans = ":(" ;
				}
			}
		}

		System.out.println(ans);
		keyboard.close();	
	}
} Main public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int[] num = new int[5];
		
		for(int i = 0; i<5; i++){
			num[i] = keyboard.nextInt();
		}
		
		int K = keyboard.nextInt();
		
		String ans = "Yay!";
		for(int j = 0; j<4; j++){
			for(int k = 1; k<5; k++){
				if(num[k] - num[j] > K){
					ans = ":(" ;
				}
			}
		}

		System.out.println(ans);
		keyboard.close();	
	} main {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int[] num = new int[5];
		
		for(int i = 0; i<5; i++){
			num[i] = keyboard.nextInt();
		}
		
		int K = keyboard.nextInt();
		
		String ans = "Yay!";
		for(int j = 0; j<4; j++){
			for(int k = 1; k<5; k++){
				if(num[k] - num[j] > K){
					ans = ":(" ;
				}
			}
		}

		System.out.println(ans);
		keyboard.close();	
	} Scanner keyboard = new Scanner(System.in); keyboard new Scanner(System.in) int[] num = new int[5]; num new int[5] 5 for(int i = 0; i<5; i++){
			num[i] = keyboard.nextInt();
		} int i = 0; int i = 0; i 0 i<5 i 5 i++ i++ i {
			num[i] = keyboard.nextInt();
		} {
			num[i] = keyboard.nextInt();
		} num[i] = keyboard.nextInt() num[i] num i keyboard.nextInt() keyboard.nextInt keyboard int K = keyboard.nextInt(); K keyboard.nextInt() keyboard.nextInt keyboard String ans = "Yay!"; ans "Yay!" for(int j = 0; j<4; j++){
			for(int k = 1; k<5; k++){
				if(num[k] - num[j] > K){
					ans = ":(" ;
				}
			}
		} int j = 0; int j = 0; j 0 j<4 j 4 j++ j++ j {
			for(int k = 1; k<5; k++){
				if(num[k] - num[j] > K){
					ans = ":(" ;
				}
			}
		} {
			for(int k = 1; k<5; k++){
				if(num[k] - num[j] > K){
					ans = ":(" ;
				}
			}
		} for(int k = 1; k<5; k++){
				if(num[k] - num[j] > K){
					ans = ":(" ;
				}
			} int k = 1; int k = 1; k 1 k<5 k 5 k++ k++ k {
				if(num[k] - num[j] > K){
					ans = ":(" ;
				}
			} {
				if(num[k] - num[j] > K){
					ans = ":(" ;
				}
			} if(num[k] - num[j] > K){
					ans = ":(" ;
				} num[k] - num[j] > K num[k] - num[j] num[k] num k num[j] num j K {
					ans = ":(" ;
				} ans = ":(" ans ":(" System.out.println(ans) System.out.println System.out System System.out ans keyboard.close() keyboard.close keyboard String[] args args public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int[] num = new int[5];
		
		for(int i = 0; i<5; i++){
			num[i] = keyboard.nextInt();
		}
		
		int K = keyboard.nextInt();
		
		String ans = "Yay!";
		for(int j = 0; j<4; j++){
			for(int k = 1; k<5; k++){
				if(num[k] - num[j] > K){
					ans = ":(" ;
				}
			}
		}

		System.out.println(ans);
		keyboard.close();	
	}
} public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int[] num = new int[5];
		
		for(int i = 0; i<5; i++){
			num[i] = keyboard.nextInt();
		}
		
		int K = keyboard.nextInt();
		
		String ans = "Yay!";
		for(int j = 0; j<4; j++){
			for(int k = 1; k<5; k++){
				if(num[k] - num[j] > K){
					ans = ":(" ;
				}
			}
		}

		System.out.println(ans);
		keyboard.close();	
	}
} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int[] num = new int[5];
		
		for(int i = 0; i<5; i++){
			num[i] = keyboard.nextInt();
		}
		
		int K = keyboard.nextInt();
		
		String ans = "Yay!";
		for(int j = 0; j<4; j++){
			for(int k = 1; k<5; k++){
				if(num[k] - num[j] > K){
					ans = ":(" ;
				}
			}
		}

		System.out.println(ans);
		keyboard.close();	
	}
}
