import java.util.Scanner;

public class Main {
	
	private static String judgeDists(int[] dists, int k) {
		// validate inputs
		if(k < 0 || k > 123) return ":(";
		for(int tmp : dists) {
			if (tmp < 0 || tmp > 123) return ":(";
		}
		
		// using 2 loops to judge the dists
		for(int i = 0; i < dists.length; i++){
			for(int j = i + 1; j < dists.length; j++){
				if(dists[j] - dists[i] > k) return ":(";
			}
		}
		
		return "Yay!";
	}
	
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
		int[] dists = new int[5];
		// get values for 5 antennas and val for k
		dists[0] = sc.nextInt();
		dists[1] = sc.nextInt();
		dists[2] = sc.nextInt();
		dists[3] = sc.nextInt();
		dists[4] = sc.nextInt();
		
		int k = sc.nextInt();
		System.out.println(judgeDists(dists, k));
	}
} import java.util.Scanner; Scanner java.util public class Main {
	
	private static String judgeDists(int[] dists, int k) {
		// validate inputs
		if(k < 0 || k > 123) return ":(";
		for(int tmp : dists) {
			if (tmp < 0 || tmp > 123) return ":(";
		}
		
		// using 2 loops to judge the dists
		for(int i = 0; i < dists.length; i++){
			for(int j = i + 1; j < dists.length; j++){
				if(dists[j] - dists[i] > k) return ":(";
			}
		}
		
		return "Yay!";
	}
	
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
		int[] dists = new int[5];
		// get values for 5 antennas and val for k
		dists[0] = sc.nextInt();
		dists[1] = sc.nextInt();
		dists[2] = sc.nextInt();
		dists[3] = sc.nextInt();
		dists[4] = sc.nextInt();
		
		int k = sc.nextInt();
		System.out.println(judgeDists(dists, k));
	}
} Main private static String judgeDists(int[] dists, int k) {
		// validate inputs
		if(k < 0 || k > 123) return ":(";
		for(int tmp : dists) {
			if (tmp < 0 || tmp > 123) return ":(";
		}
		
		// using 2 loops to judge the dists
		for(int i = 0; i < dists.length; i++){
			for(int j = i + 1; j < dists.length; j++){
				if(dists[j] - dists[i] > k) return ":(";
			}
		}
		
		return "Yay!";
	} judgeDists {
		// validate inputs
		if(k < 0 || k > 123) return ":(";
		for(int tmp : dists) {
			if (tmp < 0 || tmp > 123) return ":(";
		}
		
		// using 2 loops to judge the dists
		for(int i = 0; i < dists.length; i++){
			for(int j = i + 1; j < dists.length; j++){
				if(dists[j] - dists[i] > k) return ":(";
			}
		}
		
		return "Yay!";
	} if(k < 0 || k > 123) return ":("; k < 0 || k > 123 k < 0 k 0 k > 123 k 123 return ":("; ":(" for(int tmp : dists) {
			if (tmp < 0 || tmp > 123) return ":(";
		} int tmp dists {
			if (tmp < 0 || tmp > 123) return ":(";
		} {
			if (tmp < 0 || tmp > 123) return ":(";
		} if (tmp < 0 || tmp > 123) return ":("; tmp < 0 || tmp > 123 tmp < 0 tmp 0 tmp > 123 tmp 123 return ":("; ":(" for(int i = 0; i < dists.length; i++){
			for(int j = i + 1; j < dists.length; j++){
				if(dists[j] - dists[i] > k) return ":(";
			}
		} int i = 0; int i = 0; i 0 i < dists.length i dists.length dists dists.length i++ i++ i {
			for(int j = i + 1; j < dists.length; j++){
				if(dists[j] - dists[i] > k) return ":(";
			}
		} {
			for(int j = i + 1; j < dists.length; j++){
				if(dists[j] - dists[i] > k) return ":(";
			}
		} for(int j = i + 1; j < dists.length; j++){
				if(dists[j] - dists[i] > k) return ":(";
			} int j = i + 1; int j = i + 1; j i + 1 i 1 j < dists.length j dists.length dists dists.length j++ j++ j {
				if(dists[j] - dists[i] > k) return ":(";
			} {
				if(dists[j] - dists[i] > k) return ":(";
			} if(dists[j] - dists[i] > k) return ":("; dists[j] - dists[i] > k dists[j] - dists[i] dists[j] dists j dists[i] dists i k return ":("; ":(" return "Yay!"; "Yay!" int[] dists dists int k k public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
		int[] dists = new int[5];
		// get values for 5 antennas and val for k
		dists[0] = sc.nextInt();
		dists[1] = sc.nextInt();
		dists[2] = sc.nextInt();
		dists[3] = sc.nextInt();
		dists[4] = sc.nextInt();
		
		int k = sc.nextInt();
		System.out.println(judgeDists(dists, k));
	} main {
		Scanner sc = new Scanner(System.in);
		
		int[] dists = new int[5];
		// get values for 5 antennas and val for k
		dists[0] = sc.nextInt();
		dists[1] = sc.nextInt();
		dists[2] = sc.nextInt();
		dists[3] = sc.nextInt();
		dists[4] = sc.nextInt();
		
		int k = sc.nextInt();
		System.out.println(judgeDists(dists, k));
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] dists = new int[5]; dists new int[5] 5 dists[0] = sc.nextInt() dists[0] dists 0 sc.nextInt() sc.nextInt sc dists[1] = sc.nextInt() dists[1] dists 1 sc.nextInt() sc.nextInt sc dists[2] = sc.nextInt() dists[2] dists 2 sc.nextInt() sc.nextInt sc dists[3] = sc.nextInt() dists[3] dists 3 sc.nextInt() sc.nextInt sc dists[4] = sc.nextInt() dists[4] dists 4 sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc System.out.println(judgeDists(dists, k)) System.out.println System.out System System.out judgeDists(dists, k) judgeDists dists k String[] args args public class Main {
	
	private static String judgeDists(int[] dists, int k) {
		// validate inputs
		if(k < 0 || k > 123) return ":(";
		for(int tmp : dists) {
			if (tmp < 0 || tmp > 123) return ":(";
		}
		
		// using 2 loops to judge the dists
		for(int i = 0; i < dists.length; i++){
			for(int j = i + 1; j < dists.length; j++){
				if(dists[j] - dists[i] > k) return ":(";
			}
		}
		
		return "Yay!";
	}
	
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
		int[] dists = new int[5];
		// get values for 5 antennas and val for k
		dists[0] = sc.nextInt();
		dists[1] = sc.nextInt();
		dists[2] = sc.nextInt();
		dists[3] = sc.nextInt();
		dists[4] = sc.nextInt();
		
		int k = sc.nextInt();
		System.out.println(judgeDists(dists, k));
	}
} public class Main {
	
	private static String judgeDists(int[] dists, int k) {
		// validate inputs
		if(k < 0 || k > 123) return ":(";
		for(int tmp : dists) {
			if (tmp < 0 || tmp > 123) return ":(";
		}
		
		// using 2 loops to judge the dists
		for(int i = 0; i < dists.length; i++){
			for(int j = i + 1; j < dists.length; j++){
				if(dists[j] - dists[i] > k) return ":(";
			}
		}
		
		return "Yay!";
	}
	
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
		int[] dists = new int[5];
		// get values for 5 antennas and val for k
		dists[0] = sc.nextInt();
		dists[1] = sc.nextInt();
		dists[2] = sc.nextInt();
		dists[3] = sc.nextInt();
		dists[4] = sc.nextInt();
		
		int k = sc.nextInt();
		System.out.println(judgeDists(dists, k));
	}
} Main
import java.util.Scanner;

public class Main {
	
	private static String judgeDists(int[] dists, int k) {
		// validate inputs
		if(k < 0 || k > 123) return ":(";
		for(int tmp : dists) {
			if (tmp < 0 || tmp > 123) return ":(";
		}
		
		// using 2 loops to judge the dists
		for(int i = 0; i < dists.length; i++){
			for(int j = i + 1; j < dists.length; j++){
				if(dists[j] - dists[i] > k) return ":(";
			}
		}
		
		return "Yay!";
	}
	
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
		int[] dists = new int[5];
		// get values for 5 antennas and val for k
		dists[0] = sc.nextInt();
		dists[1] = sc.nextInt();
		dists[2] = sc.nextInt();
		dists[3] = sc.nextInt();
		dists[4] = sc.nextInt();
		
		int k = sc.nextInt();
		System.out.println(judgeDists(dists, k));
	}
}