import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		// 入力値を取得
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int d = sc.nextInt();
		int e = sc.nextInt();
		int k = sc.nextInt();

		// 差分の最大値
		int[] data = {Math.abs(a - b), Math.abs(a - c), Math.abs(a - d),
				Math.abs(a - e), Math.abs(b - c), Math.abs(b - d),
				Math.abs(b - e), Math.abs(c - d), Math.abs(c - e),
				Math.abs(d - e)};
		int BigDifference = data[0];
		for (int i = 0; i < data.length; i++) {
			int value = data[i];
			if (value > BigDifference) {
				BigDifference = value;
			}
		}

		// 差分の最大値とkを比較
		if (BigDifference > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}

		// クローズ
		sc.close();

	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {

		// 入力値を取得
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int d = sc.nextInt();
		int e = sc.nextInt();
		int k = sc.nextInt();

		// 差分の最大値
		int[] data = {Math.abs(a - b), Math.abs(a - c), Math.abs(a - d),
				Math.abs(a - e), Math.abs(b - c), Math.abs(b - d),
				Math.abs(b - e), Math.abs(c - d), Math.abs(c - e),
				Math.abs(d - e)};
		int BigDifference = data[0];
		for (int i = 0; i < data.length; i++) {
			int value = data[i];
			if (value > BigDifference) {
				BigDifference = value;
			}
		}

		// 差分の最大値とkを比較
		if (BigDifference > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}

		// クローズ
		sc.close();

	}
} Main public static void main(String[] args) {

		// 入力値を取得
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int d = sc.nextInt();
		int e = sc.nextInt();
		int k = sc.nextInt();

		// 差分の最大値
		int[] data = {Math.abs(a - b), Math.abs(a - c), Math.abs(a - d),
				Math.abs(a - e), Math.abs(b - c), Math.abs(b - d),
				Math.abs(b - e), Math.abs(c - d), Math.abs(c - e),
				Math.abs(d - e)};
		int BigDifference = data[0];
		for (int i = 0; i < data.length; i++) {
			int value = data[i];
			if (value > BigDifference) {
				BigDifference = value;
			}
		}

		// 差分の最大値とkを比較
		if (BigDifference > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}

		// クローズ
		sc.close();

	} main {

		// 入力値を取得
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int d = sc.nextInt();
		int e = sc.nextInt();
		int k = sc.nextInt();

		// 差分の最大値
		int[] data = {Math.abs(a - b), Math.abs(a - c), Math.abs(a - d),
				Math.abs(a - e), Math.abs(b - c), Math.abs(b - d),
				Math.abs(b - e), Math.abs(c - d), Math.abs(c - e),
				Math.abs(d - e)};
		int BigDifference = data[0];
		for (int i = 0; i < data.length; i++) {
			int value = data[i];
			if (value > BigDifference) {
				BigDifference = value;
			}
		}

		// 差分の最大値とkを比較
		if (BigDifference > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}

		// クローズ
		sc.close();

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc int d = sc.nextInt(); d sc.nextInt() sc.nextInt sc int e = sc.nextInt(); e sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc int[] data = {Math.abs(a - b), Math.abs(a - c), Math.abs(a - d),
				Math.abs(a - e), Math.abs(b - c), Math.abs(b - d),
				Math.abs(b - e), Math.abs(c - d), Math.abs(c - e),
				Math.abs(d - e)}; data {Math.abs(a - b), Math.abs(a - c), Math.abs(a - d),
				Math.abs(a - e), Math.abs(b - c), Math.abs(b - d),
				Math.abs(b - e), Math.abs(c - d), Math.abs(c - e),
				Math.abs(d - e)} Math.abs(a - b) Math.abs Math a - b a b Math.abs(a - c) Math.abs Math a - c a c Math.abs(a - d) Math.abs Math a - d a d Math.abs(a - e) Math.abs Math a - e a e Math.abs(b - c) Math.abs Math b - c b c Math.abs(b - d) Math.abs Math b - d b d Math.abs(b - e) Math.abs Math b - e b e Math.abs(c - d) Math.abs Math c - d c d Math.abs(c - e) Math.abs Math c - e c e Math.abs(d - e) Math.abs Math d - e d e int BigDifference = data[0]; BigDifference data[0] data 0 for (int i = 0; i < data.length; i++) {
			int value = data[i];
			if (value > BigDifference) {
				BigDifference = value;
			}
		} int i = 0; int i = 0; i 0 i < data.length i data.length data data.length i++ i++ i {
			int value = data[i];
			if (value > BigDifference) {
				BigDifference = value;
			}
		} {
			int value = data[i];
			if (value > BigDifference) {
				BigDifference = value;
			}
		} int value = data[i]; value data[i] data i if (value > BigDifference) {
				BigDifference = value;
			} value > BigDifference value BigDifference {
				BigDifference = value;
			} BigDifference = value BigDifference value if (BigDifference > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		} BigDifference > k BigDifference k {
			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 public class Main {
	public static void main(String[] args) {

		// 入力値を取得
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int d = sc.nextInt();
		int e = sc.nextInt();
		int k = sc.nextInt();

		// 差分の最大値
		int[] data = {Math.abs(a - b), Math.abs(a - c), Math.abs(a - d),
				Math.abs(a - e), Math.abs(b - c), Math.abs(b - d),
				Math.abs(b - e), Math.abs(c - d), Math.abs(c - e),
				Math.abs(d - e)};
		int BigDifference = data[0];
		for (int i = 0; i < data.length; i++) {
			int value = data[i];
			if (value > BigDifference) {
				BigDifference = value;
			}
		}

		// 差分の最大値とkを比較
		if (BigDifference > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}

		// クローズ
		sc.close();

	}
} public class Main {
	public static void main(String[] args) {

		// 入力値を取得
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int d = sc.nextInt();
		int e = sc.nextInt();
		int k = sc.nextInt();

		// 差分の最大値
		int[] data = {Math.abs(a - b), Math.abs(a - c), Math.abs(a - d),
				Math.abs(a - e), Math.abs(b - c), Math.abs(b - d),
				Math.abs(b - e), Math.abs(c - d), Math.abs(c - e),
				Math.abs(d - e)};
		int BigDifference = data[0];
		for (int i = 0; i < data.length; i++) {
			int value = data[i];
			if (value > BigDifference) {
				BigDifference = value;
			}
		}

		// 差分の最大値とkを比較
		if (BigDifference > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}

		// クローズ
		sc.close();

	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		// 入力値を取得
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int d = sc.nextInt();
		int e = sc.nextInt();
		int k = sc.nextInt();

		// 差分の最大値
		int[] data = {Math.abs(a - b), Math.abs(a - c), Math.abs(a - d),
				Math.abs(a - e), Math.abs(b - c), Math.abs(b - d),
				Math.abs(b - e), Math.abs(c - d), Math.abs(c - e),
				Math.abs(d - e)};
		int BigDifference = data[0];
		for (int i = 0; i < data.length; i++) {
			int value = data[i];
			if (value > BigDifference) {
				BigDifference = value;
			}
		}

		// 差分の最大値とkを比較
		if (BigDifference > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}

		// クローズ
		sc.close();

	}
}
