import java.util.ArrayList;
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] line = new int[5];
		boolean check = true;
		for(int i = 0; i < 5; i++) {
			line[i] = sc.nextInt();
		}
		int k = sc.nextInt();
		ArrayList<Integer> lis = new ArrayList<>();
		for(int i = 0; i < 5; i++) {
			for(int j = i+1; j < 5; j++) {
				if(Math.abs(line[i]-line[j]) > k) {
					check = false;
					break;
				}
			}
		}
		if(check)System.out.println("Yay!");
		else System.out.println(":(");
	}
} import java.util.ArrayList; ArrayList java.util import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] line = new int[5];
		boolean check = true;
		for(int i = 0; i < 5; i++) {
			line[i] = sc.nextInt();
		}
		int k = sc.nextInt();
		ArrayList<Integer> lis = new ArrayList<>();
		for(int i = 0; i < 5; i++) {
			for(int j = i+1; j < 5; j++) {
				if(Math.abs(line[i]-line[j]) > k) {
					check = false;
					break;
				}
			}
		}
		if(check)System.out.println("Yay!");
		else System.out.println(":(");
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] line = new int[5];
		boolean check = true;
		for(int i = 0; i < 5; i++) {
			line[i] = sc.nextInt();
		}
		int k = sc.nextInt();
		ArrayList<Integer> lis = new ArrayList<>();
		for(int i = 0; i < 5; i++) {
			for(int j = i+1; j < 5; j++) {
				if(Math.abs(line[i]-line[j]) > k) {
					check = false;
					break;
				}
			}
		}
		if(check)System.out.println("Yay!");
		else System.out.println(":(");
	} main {
		Scanner sc = new Scanner(System.in);
		int[] line = new int[5];
		boolean check = true;
		for(int i = 0; i < 5; i++) {
			line[i] = sc.nextInt();
		}
		int k = sc.nextInt();
		ArrayList<Integer> lis = new ArrayList<>();
		for(int i = 0; i < 5; i++) {
			for(int j = i+1; j < 5; j++) {
				if(Math.abs(line[i]-line[j]) > k) {
					check = false;
					break;
				}
			}
		}
		if(check)System.out.println("Yay!");
		else System.out.println(":(");
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] line = new int[5]; line new int[5] 5 boolean check = true; check true for(int i = 0; i < 5; i++) {
			line[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
			line[i] = sc.nextInt();
		} {
			line[i] = sc.nextInt();
		} line[i] = sc.nextInt() line[i] line i sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc ArrayList<Integer> lis = new ArrayList<>(); lis new ArrayList<>() for(int i = 0; i < 5; i++) {
			for(int j = i+1; j < 5; j++) {
				if(Math.abs(line[i]-line[j]) > k) {
					check = 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(Math.abs(line[i]-line[j]) > k) {
					check = false;
					break;
				}
			}
		} {
			for(int j = i+1; j < 5; j++) {
				if(Math.abs(line[i]-line[j]) > k) {
					check = false;
					break;
				}
			}
		} for(int j = i+1; j < 5; j++) {
				if(Math.abs(line[i]-line[j]) > k) {
					check = false;
					break;
				}
			} int j = i+1; int j = i+1; j i+1 i 1 j < 5 j 5 j++ j++ j {
				if(Math.abs(line[i]-line[j]) > k) {
					check = false;
					break;
				}
			} {
				if(Math.abs(line[i]-line[j]) > k) {
					check = false;
					break;
				}
			} if(Math.abs(line[i]-line[j]) > k) {
					check = false;
					break;
				} Math.abs(line[i]-line[j]) > k Math.abs(line[i]-line[j]) Math.abs Math line[i]-line[j] line[i] line i line[j] line j k {
					check = false;
					break;
				} check = false check false break; if(check)System.out.println("Yay!");
		else System.out.println(":("); check System.out.println("Yay!") System.out.println System.out System System.out "Yay!" 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[] line = new int[5];
		boolean check = true;
		for(int i = 0; i < 5; i++) {
			line[i] = sc.nextInt();
		}
		int k = sc.nextInt();
		ArrayList<Integer> lis = new ArrayList<>();
		for(int i = 0; i < 5; i++) {
			for(int j = i+1; j < 5; j++) {
				if(Math.abs(line[i]-line[j]) > k) {
					check = false;
					break;
				}
			}
		}
		if(check)System.out.println("Yay!");
		else System.out.println(":(");
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] line = new int[5];
		boolean check = true;
		for(int i = 0; i < 5; i++) {
			line[i] = sc.nextInt();
		}
		int k = sc.nextInt();
		ArrayList<Integer> lis = new ArrayList<>();
		for(int i = 0; i < 5; i++) {
			for(int j = i+1; j < 5; j++) {
				if(Math.abs(line[i]-line[j]) > k) {
					check = false;
					break;
				}
			}
		}
		if(check)System.out.println("Yay!");
		else System.out.println(":(");
	}
} Main
import java.util.ArrayList;
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] line = new int[5];
		boolean check = true;
		for(int i = 0; i < 5; i++) {
			line[i] = sc.nextInt();
		}
		int k = sc.nextInt();
		ArrayList<Integer> lis = new ArrayList<>();
		for(int i = 0; i < 5; i++) {
			for(int j = i+1; j < 5; j++) {
				if(Math.abs(line[i]-line[j]) > k) {
					check = false;
					break;
				}
			}
		}
		if(check)System.out.println("Yay!");
		else System.out.println(":(");
	}
}