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

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc1 = new Scanner(System.in);

		int[] test = new int[5];
		test[0] = sc1.nextInt();
		test[1] = sc1.nextInt();
		test[2] = sc1.nextInt();
		test[3] = sc1.nextInt();
		test[4] = sc1.nextInt();
		int k = sc1.nextInt();

		Arrays.sort(test);
		//System.out.println(test[4]);
		//System.out.println(test[0]);

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

		sc1.close();

	}

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

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc1 = new Scanner(System.in);

		int[] test = new int[5];
		test[0] = sc1.nextInt();
		test[1] = sc1.nextInt();
		test[2] = sc1.nextInt();
		test[3] = sc1.nextInt();
		test[4] = sc1.nextInt();
		int k = sc1.nextInt();

		Arrays.sort(test);
		//System.out.println(test[4]);
		//System.out.println(test[0]);

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

		sc1.close();

	}

} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc1 = new Scanner(System.in);

		int[] test = new int[5];
		test[0] = sc1.nextInt();
		test[1] = sc1.nextInt();
		test[2] = sc1.nextInt();
		test[3] = sc1.nextInt();
		test[4] = sc1.nextInt();
		int k = sc1.nextInt();

		Arrays.sort(test);
		//System.out.println(test[4]);
		//System.out.println(test[0]);

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

		sc1.close();

	} main {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc1 = new Scanner(System.in);

		int[] test = new int[5];
		test[0] = sc1.nextInt();
		test[1] = sc1.nextInt();
		test[2] = sc1.nextInt();
		test[3] = sc1.nextInt();
		test[4] = sc1.nextInt();
		int k = sc1.nextInt();

		Arrays.sort(test);
		//System.out.println(test[4]);
		//System.out.println(test[0]);

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

		sc1.close();

	} Scanner sc1 = new Scanner(System.in); sc1 new Scanner(System.in) int[] test = new int[5]; test new int[5] 5 test[0] = sc1.nextInt() test[0] test 0 sc1.nextInt() sc1.nextInt sc1 test[1] = sc1.nextInt() test[1] test 1 sc1.nextInt() sc1.nextInt sc1 test[2] = sc1.nextInt() test[2] test 2 sc1.nextInt() sc1.nextInt sc1 test[3] = sc1.nextInt() test[3] test 3 sc1.nextInt() sc1.nextInt sc1 test[4] = sc1.nextInt() test[4] test 4 sc1.nextInt() sc1.nextInt sc1 int k = sc1.nextInt(); k sc1.nextInt() sc1.nextInt sc1 Arrays.sort(test) Arrays.sort Arrays test if (test[4]-test[0] <= k) {
			System.out.println("Yay!");
		}
		else {
			System.out.println(":(");
		} test[4]-test[0] <= k test[4]-test[0] test[4] test 4 test[0] test 0 k {
			System.out.println("Yay!");
		} System.out.println("Yay!") System.out.println System.out System System.out "Yay!" {
			System.out.println(":(");
		} System.out.println(":(") System.out.println System.out System System.out ":(" sc1.close() sc1.close sc1 String[] args args public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc1 = new Scanner(System.in);

		int[] test = new int[5];
		test[0] = sc1.nextInt();
		test[1] = sc1.nextInt();
		test[2] = sc1.nextInt();
		test[3] = sc1.nextInt();
		test[4] = sc1.nextInt();
		int k = sc1.nextInt();

		Arrays.sort(test);
		//System.out.println(test[4]);
		//System.out.println(test[0]);

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

		sc1.close();

	}

} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc1 = new Scanner(System.in);

		int[] test = new int[5];
		test[0] = sc1.nextInt();
		test[1] = sc1.nextInt();
		test[2] = sc1.nextInt();
		test[3] = sc1.nextInt();
		test[4] = sc1.nextInt();
		int k = sc1.nextInt();

		Arrays.sort(test);
		//System.out.println(test[4]);
		//System.out.println(test[0]);

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

		sc1.close();

	}

} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc1 = new Scanner(System.in);

		int[] test = new int[5];
		test[0] = sc1.nextInt();
		test[1] = sc1.nextInt();
		test[2] = sc1.nextInt();
		test[3] = sc1.nextInt();
		test[4] = sc1.nextInt();
		int k = sc1.nextInt();

		Arrays.sort(test);
		//System.out.println(test[4]);
		//System.out.println(test[0]);

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

		sc1.close();

	}

}