import java.util.Scanner;

public class Main {
	private static Scanner sc;

	public static void main(String[] args) throws Exception {
		sc = new Scanner(System.in);
		int[] ary = new int[5];

		for (int i = 0; i < ary.length; i++) {
			ary[i] = sc.nextInt();
		}

		int k = sc.nextInt();

		boolean yay = true;

		loop: for (int i : ary) {
			for (int j : ary) {
				if (!(i - j <= k)) {
					yay = false;
					break loop;
				}
			}
		}

		System.out.println(yay ? "Yay!" : ":(");

	}
} import java.util.Scanner; Scanner java.util public class Main {
	private static Scanner sc;

	public static void main(String[] args) throws Exception {
		sc = new Scanner(System.in);
		int[] ary = new int[5];

		for (int i = 0; i < ary.length; i++) {
			ary[i] = sc.nextInt();
		}

		int k = sc.nextInt();

		boolean yay = true;

		loop: for (int i : ary) {
			for (int j : ary) {
				if (!(i - j <= k)) {
					yay = false;
					break loop;
				}
			}
		}

		System.out.println(yay ? "Yay!" : ":(");

	}
} Main private static Scanner sc; sc public static void main(String[] args) throws Exception {
		sc = new Scanner(System.in);
		int[] ary = new int[5];

		for (int i = 0; i < ary.length; i++) {
			ary[i] = sc.nextInt();
		}

		int k = sc.nextInt();

		boolean yay = true;

		loop: for (int i : ary) {
			for (int j : ary) {
				if (!(i - j <= k)) {
					yay = false;
					break loop;
				}
			}
		}

		System.out.println(yay ? "Yay!" : ":(");

	} main {
		sc = new Scanner(System.in);
		int[] ary = new int[5];

		for (int i = 0; i < ary.length; i++) {
			ary[i] = sc.nextInt();
		}

		int k = sc.nextInt();

		boolean yay = true;

		loop: for (int i : ary) {
			for (int j : ary) {
				if (!(i - j <= k)) {
					yay = false;
					break loop;
				}
			}
		}

		System.out.println(yay ? "Yay!" : ":(");

	} sc = new Scanner(System.in) sc new Scanner(System.in) int[] ary = new int[5]; ary new int[5] 5 for (int i = 0; i < ary.length; i++) {
			ary[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < ary.length i ary.length ary ary.length i++ i++ i {
			ary[i] = sc.nextInt();
		} {
			ary[i] = sc.nextInt();
		} ary[i] = sc.nextInt() ary[i] ary i sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc boolean yay = true; yay true System.out.println(yay ? "Yay!" : ":(") System.out.println System.out System System.out yay ? "Yay!" : ":(" yay "Yay!" ":(" String[] args args public class Main {
	private static Scanner sc;

	public static void main(String[] args) throws Exception {
		sc = new Scanner(System.in);
		int[] ary = new int[5];

		for (int i = 0; i < ary.length; i++) {
			ary[i] = sc.nextInt();
		}

		int k = sc.nextInt();

		boolean yay = true;

		loop: for (int i : ary) {
			for (int j : ary) {
				if (!(i - j <= k)) {
					yay = false;
					break loop;
				}
			}
		}

		System.out.println(yay ? "Yay!" : ":(");

	}
} public class Main {
	private static Scanner sc;

	public static void main(String[] args) throws Exception {
		sc = new Scanner(System.in);
		int[] ary = new int[5];

		for (int i = 0; i < ary.length; i++) {
			ary[i] = sc.nextInt();
		}

		int k = sc.nextInt();

		boolean yay = true;

		loop: for (int i : ary) {
			for (int j : ary) {
				if (!(i - j <= k)) {
					yay = false;
					break loop;
				}
			}
		}

		System.out.println(yay ? "Yay!" : ":(");

	}
} Main
import java.util.Scanner;

public class Main {
	private static Scanner sc;

	public static void main(String[] args) throws Exception {
		sc = new Scanner(System.in);
		int[] ary = new int[5];

		for (int i = 0; i < ary.length; i++) {
			ary[i] = sc.nextInt();
		}

		int k = sc.nextInt();

		boolean yay = true;

		loop: for (int i : ary) {
			for (int j : ary) {
				if (!(i - j <= k)) {
					yay = false;
					break loop;
				}
			}
		}

		System.out.println(yay ? "Yay!" : ":(");

	}
}
