import java.util.Arrays;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		int[] arr = new int[5];
		for (int i = 0; i < 5; i++) {
			arr[i] = reader.nextInt();
		}
		int k = reader.nextInt();
		Arrays.sort(arr);
		String ans = ":(";
		if (arr[4]-arr[0] <= k) {
			ans = "Yay!";
		}

		System.out.print(ans);
		reader.close();
	}
}


 import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		int[] arr = new int[5];
		for (int i = 0; i < 5; i++) {
			arr[i] = reader.nextInt();
		}
		int k = reader.nextInt();
		Arrays.sort(arr);
		String ans = ":(";
		if (arr[4]-arr[0] <= k) {
			ans = "Yay!";
		}

		System.out.print(ans);
		reader.close();
	}
} Main public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		int[] arr = new int[5];
		for (int i = 0; i < 5; i++) {
			arr[i] = reader.nextInt();
		}
		int k = reader.nextInt();
		Arrays.sort(arr);
		String ans = ":(";
		if (arr[4]-arr[0] <= k) {
			ans = "Yay!";
		}

		System.out.print(ans);
		reader.close();
	} main {
		Scanner reader = new Scanner(System.in);
		int[] arr = new int[5];
		for (int i = 0; i < 5; i++) {
			arr[i] = reader.nextInt();
		}
		int k = reader.nextInt();
		Arrays.sort(arr);
		String ans = ":(";
		if (arr[4]-arr[0] <= k) {
			ans = "Yay!";
		}

		System.out.print(ans);
		reader.close();
	} Scanner reader = new Scanner(System.in); reader new Scanner(System.in) int[] arr = new int[5]; arr new int[5] 5 for (int i = 0; i < 5; i++) {
			arr[i] = reader.nextInt();
		} int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
			arr[i] = reader.nextInt();
		} {
			arr[i] = reader.nextInt();
		} arr[i] = reader.nextInt() arr[i] arr i reader.nextInt() reader.nextInt reader int k = reader.nextInt(); k reader.nextInt() reader.nextInt reader Arrays.sort(arr) Arrays.sort Arrays arr String ans = ":("; ans ":(" if (arr[4]-arr[0] <= k) {
			ans = "Yay!";
		} arr[4]-arr[0] <= k arr[4]-arr[0] arr[4] arr 4 arr[0] arr 0 k {
			ans = "Yay!";
		} ans = "Yay!" ans "Yay!" System.out.print(ans) System.out.print System.out System System.out ans reader.close() reader.close reader String[] args args public class Main {

	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		int[] arr = new int[5];
		for (int i = 0; i < 5; i++) {
			arr[i] = reader.nextInt();
		}
		int k = reader.nextInt();
		Arrays.sort(arr);
		String ans = ":(";
		if (arr[4]-arr[0] <= k) {
			ans = "Yay!";
		}

		System.out.print(ans);
		reader.close();
	}
} public class Main {

	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		int[] arr = new int[5];
		for (int i = 0; i < 5; i++) {
			arr[i] = reader.nextInt();
		}
		int k = reader.nextInt();
		Arrays.sort(arr);
		String ans = ":(";
		if (arr[4]-arr[0] <= k) {
			ans = "Yay!";
		}

		System.out.print(ans);
		reader.close();
	}
} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		int[] arr = new int[5];
		for (int i = 0; i < 5; i++) {
			arr[i] = reader.nextInt();
		}
		int k = reader.nextInt();
		Arrays.sort(arr);
		String ans = ":(";
		if (arr[4]-arr[0] <= k) {
			ans = "Yay!";
		}

		System.out.print(ans);
		reader.close();
	}
}



