import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		try(Scanner scan = new Scanner(System.in)){
			byte[] distances = new byte[5];
			byte k;
			for(int i = 0; i < 5; i++) {
				distances[i] = scan.nextByte();
			}
			k = scan.nextByte();
			
			boolean isOk = true;
			// a:=0, b:=1, c:=2, d:=3, e:=4 
			for(int i = 0; i < 5; i++){
				for(int j = i+1; j < 5; j++) {
					if(!isCommunicatable(distances[i], distances[j], k)) {
						isOk = false;
						break;
					}
				}
			}
			System.out.println(isOk ? "Yay!" : ":(");
		}
		
	}
	
	private static boolean isCommunicatable(int c1, int c2, int k) {
		return (c2 - c1) <= k;
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		try(Scanner scan = new Scanner(System.in)){
			byte[] distances = new byte[5];
			byte k;
			for(int i = 0; i < 5; i++) {
				distances[i] = scan.nextByte();
			}
			k = scan.nextByte();
			
			boolean isOk = true;
			// a:=0, b:=1, c:=2, d:=3, e:=4 
			for(int i = 0; i < 5; i++){
				for(int j = i+1; j < 5; j++) {
					if(!isCommunicatable(distances[i], distances[j], k)) {
						isOk = false;
						break;
					}
				}
			}
			System.out.println(isOk ? "Yay!" : ":(");
		}
		
	}
	
	private static boolean isCommunicatable(int c1, int c2, int k) {
		return (c2 - c1) <= k;
	}
} Main public static void main(String[] args) {
		try(Scanner scan = new Scanner(System.in)){
			byte[] distances = new byte[5];
			byte k;
			for(int i = 0; i < 5; i++) {
				distances[i] = scan.nextByte();
			}
			k = scan.nextByte();
			
			boolean isOk = true;
			// a:=0, b:=1, c:=2, d:=3, e:=4 
			for(int i = 0; i < 5; i++){
				for(int j = i+1; j < 5; j++) {
					if(!isCommunicatable(distances[i], distances[j], k)) {
						isOk = false;
						break;
					}
				}
			}
			System.out.println(isOk ? "Yay!" : ":(");
		}
		
	} main {
		try(Scanner scan = new Scanner(System.in)){
			byte[] distances = new byte[5];
			byte k;
			for(int i = 0; i < 5; i++) {
				distances[i] = scan.nextByte();
			}
			k = scan.nextByte();
			
			boolean isOk = true;
			// a:=0, b:=1, c:=2, d:=3, e:=4 
			for(int i = 0; i < 5; i++){
				for(int j = i+1; j < 5; j++) {
					if(!isCommunicatable(distances[i], distances[j], k)) {
						isOk = false;
						break;
					}
				}
			}
			System.out.println(isOk ? "Yay!" : ":(");
		}
		
	} try(Scanner scan = new Scanner(System.in)){
			byte[] distances = new byte[5];
			byte k;
			for(int i = 0; i < 5; i++) {
				distances[i] = scan.nextByte();
			}
			k = scan.nextByte();
			
			boolean isOk = true;
			// a:=0, b:=1, c:=2, d:=3, e:=4 
			for(int i = 0; i < 5; i++){
				for(int j = i+1; j < 5; j++) {
					if(!isCommunicatable(distances[i], distances[j], k)) {
						isOk = false;
						break;
					}
				}
			}
			System.out.println(isOk ? "Yay!" : ":(");
		} {
			byte[] distances = new byte[5];
			byte k;
			for(int i = 0; i < 5; i++) {
				distances[i] = scan.nextByte();
			}
			k = scan.nextByte();
			
			boolean isOk = true;
			// a:=0, b:=1, c:=2, d:=3, e:=4 
			for(int i = 0; i < 5; i++){
				for(int j = i+1; j < 5; j++) {
					if(!isCommunicatable(distances[i], distances[j], k)) {
						isOk = false;
						break;
					}
				}
			}
			System.out.println(isOk ? "Yay!" : ":(");
		} Scanner scan = new Scanner(System.in) Scanner scan = new Scanner(System.in) new Scanner(System.in) byte[] distances = new byte[5]; distances new byte[5] 5 byte k; k for(int i = 0; i < 5; i++) {
				distances[i] = scan.nextByte();
			} int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
				distances[i] = scan.nextByte();
			} {
				distances[i] = scan.nextByte();
			} distances[i] = scan.nextByte() distances[i] distances i scan.nextByte() scan.nextByte scan k = scan.nextByte() k scan.nextByte() scan.nextByte scan boolean isOk = true; isOk true for(int i = 0; i < 5; i++){
				for(int j = i+1; j < 5; j++) {
					if(!isCommunicatable(distances[i], distances[j], k)) {
						isOk = false;
						break;
					}
				}
			} int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
				for(int j = i+1; j < 5; j++) {
					if(!isCommunicatable(distances[i], distances[j], k)) {
						isOk = false;
						break;
					}
				}
			} {
				for(int j = i+1; j < 5; j++) {
					if(!isCommunicatable(distances[i], distances[j], k)) {
						isOk = false;
						break;
					}
				}
			} for(int j = i+1; j < 5; j++) {
					if(!isCommunicatable(distances[i], distances[j], k)) {
						isOk = false;
						break;
					}
				} int j = i+1; int j = i+1; j i+1 i 1 j < 5 j 5 j++ j++ j {
					if(!isCommunicatable(distances[i], distances[j], k)) {
						isOk = false;
						break;
					}
				} {
					if(!isCommunicatable(distances[i], distances[j], k)) {
						isOk = false;
						break;
					}
				} if(!isCommunicatable(distances[i], distances[j], k)) {
						isOk = false;
						break;
					} !isCommunicatable(distances[i], distances[j], k) isCommunicatable(distances[i], distances[j], k) isCommunicatable distances[i] distances i distances[j] distances j k {
						isOk = false;
						break;
					} isOk = false isOk false break; System.out.println(isOk ? "Yay!" : ":(") System.out.println System.out System System.out isOk ? "Yay!" : ":(" isOk "Yay!" ":(" String[] args args private static boolean isCommunicatable(int c1, int c2, int k) {
		return (c2 - c1) <= k;
	} isCommunicatable {
		return (c2 - c1) <= k;
	} return (c2 - c1) <= k; (c2 - c1) <= k (c2 - c1) c2 c1 k int c1 c1 int c2 c2 int k k public class Main {
	public static void main(String[] args) {
		try(Scanner scan = new Scanner(System.in)){
			byte[] distances = new byte[5];
			byte k;
			for(int i = 0; i < 5; i++) {
				distances[i] = scan.nextByte();
			}
			k = scan.nextByte();
			
			boolean isOk = true;
			// a:=0, b:=1, c:=2, d:=3, e:=4 
			for(int i = 0; i < 5; i++){
				for(int j = i+1; j < 5; j++) {
					if(!isCommunicatable(distances[i], distances[j], k)) {
						isOk = false;
						break;
					}
				}
			}
			System.out.println(isOk ? "Yay!" : ":(");
		}
		
	}
	
	private static boolean isCommunicatable(int c1, int c2, int k) {
		return (c2 - c1) <= k;
	}
} public class Main {
	public static void main(String[] args) {
		try(Scanner scan = new Scanner(System.in)){
			byte[] distances = new byte[5];
			byte k;
			for(int i = 0; i < 5; i++) {
				distances[i] = scan.nextByte();
			}
			k = scan.nextByte();
			
			boolean isOk = true;
			// a:=0, b:=1, c:=2, d:=3, e:=4 
			for(int i = 0; i < 5; i++){
				for(int j = i+1; j < 5; j++) {
					if(!isCommunicatable(distances[i], distances[j], k)) {
						isOk = false;
						break;
					}
				}
			}
			System.out.println(isOk ? "Yay!" : ":(");
		}
		
	}
	
	private static boolean isCommunicatable(int c1, int c2, int k) {
		return (c2 - c1) <= k;
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		try(Scanner scan = new Scanner(System.in)){
			byte[] distances = new byte[5];
			byte k;
			for(int i = 0; i < 5; i++) {
				distances[i] = scan.nextByte();
			}
			k = scan.nextByte();
			
			boolean isOk = true;
			// a:=0, b:=1, c:=2, d:=3, e:=4 
			for(int i = 0; i < 5; i++){
				for(int j = i+1; j < 5; j++) {
					if(!isCommunicatable(distances[i], distances[j], k)) {
						isOk = false;
						break;
					}
				}
			}
			System.out.println(isOk ? "Yay!" : ":(");
		}
		
	}
	
	private static boolean isCommunicatable(int c1, int c2, int k) {
		return (c2 - c1) <= k;
	}
}
