import java.util.Scanner;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int max = 0;
		int min = 124;
		for(int i = 0; i < 5; i++){
			int antena = sc.nextInt();
			if(antena > max){
				max = antena;
			}
			if(antena < min){
				min = antena;
			}
		}
		int k = sc.nextInt();
		if(max - min <= k){
			System.out.println("Yay!");
		}else{
			System.out.println(":(");
		}
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int max = 0;
		int min = 124;
		for(int i = 0; i < 5; i++){
			int antena = sc.nextInt();
			if(antena > max){
				max = antena;
			}
			if(antena < min){
				min = antena;
			}
		}
		int k = sc.nextInt();
		if(max - min <= k){
			System.out.println("Yay!");
		}else{
			System.out.println(":(");
		}
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int max = 0;
		int min = 124;
		for(int i = 0; i < 5; i++){
			int antena = sc.nextInt();
			if(antena > max){
				max = antena;
			}
			if(antena < min){
				min = antena;
			}
		}
		int k = sc.nextInt();
		if(max - min <= k){
			System.out.println("Yay!");
		}else{
			System.out.println(":(");
		}
	} main {
		Scanner sc = new Scanner(System.in);
		int max = 0;
		int min = 124;
		for(int i = 0; i < 5; i++){
			int antena = sc.nextInt();
			if(antena > max){
				max = antena;
			}
			if(antena < min){
				min = antena;
			}
		}
		int k = sc.nextInt();
		if(max - min <= k){
			System.out.println("Yay!");
		}else{
			System.out.println(":(");
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int max = 0; max 0 int min = 124; min 124 for(int i = 0; i < 5; i++){
			int antena = sc.nextInt();
			if(antena > max){
				max = antena;
			}
			if(antena < min){
				min = antena;
			}
		} int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
			int antena = sc.nextInt();
			if(antena > max){
				max = antena;
			}
			if(antena < min){
				min = antena;
			}
		} {
			int antena = sc.nextInt();
			if(antena > max){
				max = antena;
			}
			if(antena < min){
				min = antena;
			}
		} int antena = sc.nextInt(); antena sc.nextInt() sc.nextInt sc if(antena > max){
				max = antena;
			} antena > max antena max {
				max = antena;
			} max = antena max antena if(antena < min){
				min = antena;
			} antena < min antena min {
				min = antena;
			} min = antena min antena int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc if(max - min <= k){
			System.out.println("Yay!");
		}else{
			System.out.println(":(");
		} max - min <= k max - min max min k {
			System.out.println("Yay!");
		} System.out.println("Yay!") System.out.println System.out System System.out "Yay!" {
			System.out.println(":(");
		} System.out.println(":(") System.out.println System.out System System.out ":(" String[] args args public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int max = 0;
		int min = 124;
		for(int i = 0; i < 5; i++){
			int antena = sc.nextInt();
			if(antena > max){
				max = antena;
			}
			if(antena < min){
				min = antena;
			}
		}
		int k = sc.nextInt();
		if(max - min <= k){
			System.out.println("Yay!");
		}else{
			System.out.println(":(");
		}
	}
} public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int max = 0;
		int min = 124;
		for(int i = 0; i < 5; i++){
			int antena = sc.nextInt();
			if(antena > max){
				max = antena;
			}
			if(antena < min){
				min = antena;
			}
		}
		int k = sc.nextInt();
		if(max - min <= k){
			System.out.println("Yay!");
		}else{
			System.out.println(":(");
		}
	}
} Main
import java.util.Scanner;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int max = 0;
		int min = 124;
		for(int i = 0; i < 5; i++){
			int antena = sc.nextInt();
			if(antena > max){
				max = antena;
			}
			if(antena < min){
				min = antena;
			}
		}
		int k = sc.nextInt();
		if(max - min <= k){
			System.out.println("Yay!");
		}else{
			System.out.println(":(");
		}
	}
}