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

public class Main {
	public static void main(String[] args) {
		Main main = new Main();
		Scanner sc = new Scanner(System.in);
		main.solve(sc);
		sc.close();
	}

	void solve(Scanner sc) {
		int[] ia = new int[5];
		ia[0] = sc.nextInt();
		ia[1] = sc.nextInt();
		ia[2] = sc.nextInt();
		ia[3] = sc.nextInt();
		ia[4] = sc.nextInt();
		int k = sc.nextInt();

		Arrays.sort(ia);


		if (ia[4] - ia[0] > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}
	}
} import java.util.Arrays; Arrays java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Main main = new Main();
		Scanner sc = new Scanner(System.in);
		main.solve(sc);
		sc.close();
	}

	void solve(Scanner sc) {
		int[] ia = new int[5];
		ia[0] = sc.nextInt();
		ia[1] = sc.nextInt();
		ia[2] = sc.nextInt();
		ia[3] = sc.nextInt();
		ia[4] = sc.nextInt();
		int k = sc.nextInt();

		Arrays.sort(ia);


		if (ia[4] - ia[0] > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}
	}
} Main public static void main(String[] args) {
		Main main = new Main();
		Scanner sc = new Scanner(System.in);
		main.solve(sc);
		sc.close();
	} main {
		Main main = new Main();
		Scanner sc = new Scanner(System.in);
		main.solve(sc);
		sc.close();
	} Main main = new Main(); main new Main() Scanner sc = new Scanner(System.in); sc new Scanner(System.in) main.solve(sc) main.solve main sc sc.close() sc.close sc String[] args args void solve(Scanner sc) {
		int[] ia = new int[5];
		ia[0] = sc.nextInt();
		ia[1] = sc.nextInt();
		ia[2] = sc.nextInt();
		ia[3] = sc.nextInt();
		ia[4] = sc.nextInt();
		int k = sc.nextInt();

		Arrays.sort(ia);


		if (ia[4] - ia[0] > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}
	} solve {
		int[] ia = new int[5];
		ia[0] = sc.nextInt();
		ia[1] = sc.nextInt();
		ia[2] = sc.nextInt();
		ia[3] = sc.nextInt();
		ia[4] = sc.nextInt();
		int k = sc.nextInt();

		Arrays.sort(ia);


		if (ia[4] - ia[0] > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}
	} int[] ia = new int[5]; ia new int[5] 5 ia[0] = sc.nextInt() ia[0] ia 0 sc.nextInt() sc.nextInt sc ia[1] = sc.nextInt() ia[1] ia 1 sc.nextInt() sc.nextInt sc ia[2] = sc.nextInt() ia[2] ia 2 sc.nextInt() sc.nextInt sc ia[3] = sc.nextInt() ia[3] ia 3 sc.nextInt() sc.nextInt sc ia[4] = sc.nextInt() ia[4] ia 4 sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc Arrays.sort(ia) Arrays.sort Arrays ia if (ia[4] - ia[0] > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		} ia[4] - ia[0] > k ia[4] - ia[0] ia[4] ia 4 ia[0] ia 0 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!" Scanner sc sc public class Main {
	public static void main(String[] args) {
		Main main = new Main();
		Scanner sc = new Scanner(System.in);
		main.solve(sc);
		sc.close();
	}

	void solve(Scanner sc) {
		int[] ia = new int[5];
		ia[0] = sc.nextInt();
		ia[1] = sc.nextInt();
		ia[2] = sc.nextInt();
		ia[3] = sc.nextInt();
		ia[4] = sc.nextInt();
		int k = sc.nextInt();

		Arrays.sort(ia);


		if (ia[4] - ia[0] > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}
	}
} public class Main {
	public static void main(String[] args) {
		Main main = new Main();
		Scanner sc = new Scanner(System.in);
		main.solve(sc);
		sc.close();
	}

	void solve(Scanner sc) {
		int[] ia = new int[5];
		ia[0] = sc.nextInt();
		ia[1] = sc.nextInt();
		ia[2] = sc.nextInt();
		ia[3] = sc.nextInt();
		ia[4] = sc.nextInt();
		int k = sc.nextInt();

		Arrays.sort(ia);


		if (ia[4] - ia[0] > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}
	}
} Main
import java.util.Arrays;
import java.util.List;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Main main = new Main();
		Scanner sc = new Scanner(System.in);
		main.solve(sc);
		sc.close();
	}

	void solve(Scanner sc) {
		int[] ia = new int[5];
		ia[0] = sc.nextInt();
		ia[1] = sc.nextInt();
		ia[2] = sc.nextInt();
		ia[3] = sc.nextInt();
		ia[4] = sc.nextInt();
		int k = sc.nextInt();

		Arrays.sort(ia);


		if (ia[4] - ia[0] > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}
	}
}