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();
		if (b - a > k) {
			System.out.println(":(");
		} else if (c - a > k) {
			System.out.println(":(");
		} else if (d - a > k) {
			System.out.println(":(");
		} else if (e - a > k) {
			System.out.println(":(");
		} else if (c - b > k) {
			System.out.println(":(");
		} else if (d - b > k) {
			System.out.println(":(");
		} else if (e - b > k) {
			System.out.println(":(");
		} else if (d - c > k) {
			System.out.println(":(");
		} else if (e - c > k) {
			System.out.println(":(");
		} else if (e - d > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}
	}
} 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();
		if (b - a > k) {
			System.out.println(":(");
		} else if (c - a > k) {
			System.out.println(":(");
		} else if (d - a > k) {
			System.out.println(":(");
		} else if (e - a > k) {
			System.out.println(":(");
		} else if (c - b > k) {
			System.out.println(":(");
		} else if (d - b > k) {
			System.out.println(":(");
		} else if (e - b > k) {
			System.out.println(":(");
		} else if (d - c > k) {
			System.out.println(":(");
		} else if (e - c > k) {
			System.out.println(":(");
		} else if (e - d > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}
	}
} 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();
		if (b - a > k) {
			System.out.println(":(");
		} else if (c - a > k) {
			System.out.println(":(");
		} else if (d - a > k) {
			System.out.println(":(");
		} else if (e - a > k) {
			System.out.println(":(");
		} else if (c - b > k) {
			System.out.println(":(");
		} else if (d - b > k) {
			System.out.println(":(");
		} else if (e - b > k) {
			System.out.println(":(");
		} else if (d - c > k) {
			System.out.println(":(");
		} else if (e - c > k) {
			System.out.println(":(");
		} else if (e - d > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}
	} 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();
		if (b - a > k) {
			System.out.println(":(");
		} else if (c - a > k) {
			System.out.println(":(");
		} else if (d - a > k) {
			System.out.println(":(");
		} else if (e - a > k) {
			System.out.println(":(");
		} else if (c - b > k) {
			System.out.println(":(");
		} else if (d - b > k) {
			System.out.println(":(");
		} else if (e - b > k) {
			System.out.println(":(");
		} else if (d - c > k) {
			System.out.println(":(");
		} else if (e - c > k) {
			System.out.println(":(");
		} else if (e - d > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}
	} 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 if (b - a > k) {
			System.out.println(":(");
		} else if (c - a > k) {
			System.out.println(":(");
		} else if (d - a > k) {
			System.out.println(":(");
		} else if (e - a > k) {
			System.out.println(":(");
		} else if (c - b > k) {
			System.out.println(":(");
		} else if (d - b > k) {
			System.out.println(":(");
		} else if (e - b > k) {
			System.out.println(":(");
		} else if (d - c > k) {
			System.out.println(":(");
		} else if (e - c > k) {
			System.out.println(":(");
		} else if (e - d > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		} b - a > k b - a b a k {
			System.out.println(":(");
		} System.out.println(":(") System.out.println System.out System System.out ":(" if (c - a > k) {
			System.out.println(":(");
		} else if (d - a > k) {
			System.out.println(":(");
		} else if (e - a > k) {
			System.out.println(":(");
		} else if (c - b > k) {
			System.out.println(":(");
		} else if (d - b > k) {
			System.out.println(":(");
		} else if (e - b > k) {
			System.out.println(":(");
		} else if (d - c > k) {
			System.out.println(":(");
		} else if (e - c > k) {
			System.out.println(":(");
		} else if (e - d > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		} c - a > k c - a c a k {
			System.out.println(":(");
		} System.out.println(":(") System.out.println System.out System System.out ":(" if (d - a > k) {
			System.out.println(":(");
		} else if (e - a > k) {
			System.out.println(":(");
		} else if (c - b > k) {
			System.out.println(":(");
		} else if (d - b > k) {
			System.out.println(":(");
		} else if (e - b > k) {
			System.out.println(":(");
		} else if (d - c > k) {
			System.out.println(":(");
		} else if (e - c > k) {
			System.out.println(":(");
		} else if (e - d > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		} d - a > k d - a d a k {
			System.out.println(":(");
		} System.out.println(":(") System.out.println System.out System System.out ":(" if (e - a > k) {
			System.out.println(":(");
		} else if (c - b > k) {
			System.out.println(":(");
		} else if (d - b > k) {
			System.out.println(":(");
		} else if (e - b > k) {
			System.out.println(":(");
		} else if (d - c > k) {
			System.out.println(":(");
		} else if (e - c > k) {
			System.out.println(":(");
		} else if (e - d > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		} e - a > k e - a e a k {
			System.out.println(":(");
		} System.out.println(":(") System.out.println System.out System System.out ":(" if (c - b > k) {
			System.out.println(":(");
		} else if (d - b > k) {
			System.out.println(":(");
		} else if (e - b > k) {
			System.out.println(":(");
		} else if (d - c > k) {
			System.out.println(":(");
		} else if (e - c > k) {
			System.out.println(":(");
		} else if (e - d > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		} c - b > k c - b c b k {
			System.out.println(":(");
		} System.out.println(":(") System.out.println System.out System System.out ":(" if (d - b > k) {
			System.out.println(":(");
		} else if (e - b > k) {
			System.out.println(":(");
		} else if (d - c > k) {
			System.out.println(":(");
		} else if (e - c > k) {
			System.out.println(":(");
		} else if (e - d > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		} d - b > k d - b d b k {
			System.out.println(":(");
		} System.out.println(":(") System.out.println System.out System System.out ":(" if (e - b > k) {
			System.out.println(":(");
		} else if (d - c > k) {
			System.out.println(":(");
		} else if (e - c > k) {
			System.out.println(":(");
		} else if (e - d > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		} e - b > k e - b e b k {
			System.out.println(":(");
		} System.out.println(":(") System.out.println System.out System System.out ":(" if (d - c > k) {
			System.out.println(":(");
		} else if (e - c > k) {
			System.out.println(":(");
		} else if (e - d > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		} d - c > k d - c d c k {
			System.out.println(":(");
		} System.out.println(":(") System.out.println System.out System System.out ":(" if (e - c > k) {
			System.out.println(":(");
		} else if (e - d > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		} e - c > k e - c e c k {
			System.out.println(":(");
		} System.out.println(":(") System.out.println System.out System System.out ":(" if (e - d > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		} e - d > k e - d e d 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!" 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();
		if (b - a > k) {
			System.out.println(":(");
		} else if (c - a > k) {
			System.out.println(":(");
		} else if (d - a > k) {
			System.out.println(":(");
		} else if (e - a > k) {
			System.out.println(":(");
		} else if (c - b > k) {
			System.out.println(":(");
		} else if (d - b > k) {
			System.out.println(":(");
		} else if (e - b > k) {
			System.out.println(":(");
		} else if (d - c > k) {
			System.out.println(":(");
		} else if (e - c > k) {
			System.out.println(":(");
		} else if (e - d > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}
	}
} 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();
		if (b - a > k) {
			System.out.println(":(");
		} else if (c - a > k) {
			System.out.println(":(");
		} else if (d - a > k) {
			System.out.println(":(");
		} else if (e - a > k) {
			System.out.println(":(");
		} else if (c - b > k) {
			System.out.println(":(");
		} else if (d - b > k) {
			System.out.println(":(");
		} else if (e - b > k) {
			System.out.println(":(");
		} else if (d - c > k) {
			System.out.println(":(");
		} else if (e - c > k) {
			System.out.println(":(");
		} else if (e - d > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}
	}
} 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();
		if (b - a > k) {
			System.out.println(":(");
		} else if (c - a > k) {
			System.out.println(":(");
		} else if (d - a > k) {
			System.out.println(":(");
		} else if (e - a > k) {
			System.out.println(":(");
		} else if (c - b > k) {
			System.out.println(":(");
		} else if (d - b > k) {
			System.out.println(":(");
		} else if (e - b > k) {
			System.out.println(":(");
		} else if (d - c > k) {
			System.out.println(":(");
		} else if (e - c > k) {
			System.out.println(":(");
		} else if (e - d > k) {
			System.out.println(":(");
		} else {
			System.out.println("Yay!");
		}
	}
}