import java.util.Scanner;

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

class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int min = sc.nextInt();
		int max = min;
		for (int i = 0; i < 4; i++) {
			int num = sc.nextInt();
			if (num < min) {
				min = num;
			} else {
				if (num > max) {
					max = num;
				}
			}
		}
		int dif = max - min;
		if (dif > sc.nextInt()) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}
		sc.close();
	}
}