import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num[] = new int[5];
		boolean possible = true;

		for (int i = 0; i < 5; i++) {
			num[i] = sc.nextInt();
		}
		int k = sc.nextInt();

		for (int i = 0; i < 5; i++) {
			for (int j = i + 1; j < 5; j++) {
				if (!(num[j] - num[i] <= k)) possible = false;
			}
		}

		if (possible) {
			System.out.println("Yay!");
		} else {
			System.out.println(":(");
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num[] = new int[5];
		boolean possible = true;

		for (int i = 0; i < 5; i++) {
			num[i] = sc.nextInt();
		}
		int k = sc.nextInt();

		for (int i = 0; i < 5; i++) {
			for (int j = i + 1; j < 5; j++) {
				if (!(num[j] - num[i] <= k)) possible = false;
			}
		}

		if (possible) {
			System.out.println("Yay!");
		} else {
			System.out.println(":(");
		}
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num[] = new int[5];
		boolean possible = true;

		for (int i = 0; i < 5; i++) {
			num[i] = sc.nextInt();
		}
		int k = sc.nextInt();

		for (int i = 0; i < 5; i++) {
			for (int j = i + 1; j < 5; j++) {
				if (!(num[j] - num[i] <= k)) possible = false;
			}
		}

		if (possible) {
			System.out.println("Yay!");
		} else {
			System.out.println(":(");
		}
	} main {
		Scanner sc = new Scanner(System.in);
		int num[] = new int[5];
		boolean possible = true;

		for (int i = 0; i < 5; i++) {
			num[i] = sc.nextInt();
		}
		int k = sc.nextInt();

		for (int i = 0; i < 5; i++) {
			for (int j = i + 1; j < 5; j++) {
				if (!(num[j] - num[i] <= k)) possible = false;
			}
		}

		if (possible) {
			System.out.println("Yay!");
		} else {
			System.out.println(":(");
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int num[] = new int[5]; num new int[5] 5 boolean possible = true; possible true for (int i = 0; i < 5; i++) {
			num[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
			num[i] = sc.nextInt();
		} {
			num[i] = sc.nextInt();
		} num[i] = sc.nextInt() num[i] num i sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc for (int i = 0; i < 5; i++) {
			for (int j = i + 1; j < 5; j++) {
				if (!(num[j] - num[i] <= k)) possible = false;
			}
		} int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
			for (int j = i + 1; j < 5; j++) {
				if (!(num[j] - num[i] <= k)) possible = false;
			}
		} {
			for (int j = i + 1; j < 5; j++) {
				if (!(num[j] - num[i] <= k)) possible = false;
			}
		} for (int j = i + 1; j < 5; j++) {
				if (!(num[j] - num[i] <= k)) possible = false;
			} int j = i + 1; int j = i + 1; j i + 1 i 1 j < 5 j 5 j++ j++ j {
				if (!(num[j] - num[i] <= k)) possible = false;
			} {
				if (!(num[j] - num[i] <= k)) possible = false;
			} if (!(num[j] - num[i] <= k)) possible = false; !(num[j] - num[i] <= k) (num[j] - num[i] <= k) num[j] - num[i] num[j] num j num[i] num i k possible = false possible false if (possible) {
			System.out.println("Yay!");
		} else {
			System.out.println(":(");
		} possible {
			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 ":(" String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num[] = new int[5];
		boolean possible = true;

		for (int i = 0; i < 5; i++) {
			num[i] = sc.nextInt();
		}
		int k = sc.nextInt();

		for (int i = 0; i < 5; i++) {
			for (int j = i + 1; j < 5; j++) {
				if (!(num[j] - num[i] <= k)) possible = false;
			}
		}

		if (possible) {
			System.out.println("Yay!");
		} else {
			System.out.println(":(");
		}
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num[] = new int[5];
		boolean possible = true;

		for (int i = 0; i < 5; i++) {
			num[i] = sc.nextInt();
		}
		int k = sc.nextInt();

		for (int i = 0; i < 5; i++) {
			for (int j = i + 1; j < 5; j++) {
				if (!(num[j] - num[i] <= k)) possible = false;
			}
		}

		if (possible) {
			System.out.println("Yay!");
		} else {
			System.out.println(":(");
		}
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num[] = new int[5];
		boolean possible = true;

		for (int i = 0; i < 5; i++) {
			num[i] = sc.nextInt();
		}
		int k = sc.nextInt();

		for (int i = 0; i < 5; i++) {
			for (int j = i + 1; j < 5; j++) {
				if (!(num[j] - num[i] <= k)) possible = false;
			}
		}

		if (possible) {
			System.out.println("Yay!");
		} else {
			System.out.println(":(");
		}
	}
}
