import java.util.*;

class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a[] = new int[5];
		for(int i = 0; i < a.length; i++) {
			a[i] = sc.nextInt();
		}
		int k = sc.nextInt();
		int flag = 0;
		for(int i = 0; i < a.length-1; i++) {
			for(int j = i; j < a.length; j++) {
				if(a[i]-a[j] > k || a[j] - a[i] > k) {

					flag++;
				}
			}
		}

		if(flag != 0) {
			System.out.println(":(");
		}else {
			System.out.println("Yay!");
		}
		
	}
} import java.util.*; util.* java class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a[] = new int[5];
		for(int i = 0; i < a.length; i++) {
			a[i] = sc.nextInt();
		}
		int k = sc.nextInt();
		int flag = 0;
		for(int i = 0; i < a.length-1; i++) {
			for(int j = i; j < a.length; j++) {
				if(a[i]-a[j] > k || a[j] - a[i] > k) {

					flag++;
				}
			}
		}

		if(flag != 0) {
			System.out.println(":(");
		}else {
			System.out.println("Yay!");
		}
		
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a[] = new int[5];
		for(int i = 0; i < a.length; i++) {
			a[i] = sc.nextInt();
		}
		int k = sc.nextInt();
		int flag = 0;
		for(int i = 0; i < a.length-1; i++) {
			for(int j = i; j < a.length; j++) {
				if(a[i]-a[j] > k || a[j] - a[i] > k) {

					flag++;
				}
			}
		}

		if(flag != 0) {
			System.out.println(":(");
		}else {
			System.out.println("Yay!");
		}
		
	} main {
		Scanner sc = new Scanner(System.in);
		int a[] = new int[5];
		for(int i = 0; i < a.length; i++) {
			a[i] = sc.nextInt();
		}
		int k = sc.nextInt();
		int flag = 0;
		for(int i = 0; i < a.length-1; i++) {
			for(int j = i; j < a.length; j++) {
				if(a[i]-a[j] > k || a[j] - a[i] > k) {

					flag++;
				}
			}
		}

		if(flag != 0) {
			System.out.println(":(");
		}else {
			System.out.println("Yay!");
		}
		
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a[] = new int[5]; a new int[5] 5 for(int i = 0; i < a.length; i++) {
			a[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < a.length i a.length a a.length i++ i++ i {
			a[i] = sc.nextInt();
		} {
			a[i] = sc.nextInt();
		} a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc int flag = 0; flag 0 for(int i = 0; i < a.length-1; i++) {
			for(int j = i; j < a.length; j++) {
				if(a[i]-a[j] > k || a[j] - a[i] > k) {

					flag++;
				}
			}
		} int i = 0; int i = 0; i 0 i < a.length-1 i a.length-1 a.length a a.length 1 i++ i++ i {
			for(int j = i; j < a.length; j++) {
				if(a[i]-a[j] > k || a[j] - a[i] > k) {

					flag++;
				}
			}
		} {
			for(int j = i; j < a.length; j++) {
				if(a[i]-a[j] > k || a[j] - a[i] > k) {

					flag++;
				}
			}
		} for(int j = i; j < a.length; j++) {
				if(a[i]-a[j] > k || a[j] - a[i] > k) {

					flag++;
				}
			} int j = i; int j = i; j i j < a.length j a.length a a.length j++ j++ j {
				if(a[i]-a[j] > k || a[j] - a[i] > k) {

					flag++;
				}
			} {
				if(a[i]-a[j] > k || a[j] - a[i] > k) {

					flag++;
				}
			} if(a[i]-a[j] > k || a[j] - a[i] > k) {

					flag++;
				} a[i]-a[j] > k || a[j] - a[i] > k a[i]-a[j] > k a[i]-a[j] a[i] a i a[j] a j k a[j] - a[i] > k a[j] - a[i] a[j] a j a[i] a i k {

					flag++;
				} flag++ flag if(flag != 0) {
			System.out.println(":(");
		}else {
			System.out.println("Yay!");
		} flag != 0 flag 0 {
			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
import java.util.*;

class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a[] = new int[5];
		for(int i = 0; i < a.length; i++) {
			a[i] = sc.nextInt();
		}
		int k = sc.nextInt();
		int flag = 0;
		for(int i = 0; i < a.length-1; i++) {
			for(int j = i; j < a.length; j++) {
				if(a[i]-a[j] > k || a[j] - a[i] > k) {

					flag++;
				}
			}
		}

		if(flag != 0) {
			System.out.println(":(");
		}else {
			System.out.println("Yay!");
		}
		
	}
}
