import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int[] a = new int[5];
		int i,j;
		for(i = 0; i < 5; i++)
			a[i] = scan.nextInt();

		int k = scan.nextInt();

		for(i = 0; i < 4; i++) {
			for(j = i + 1; j < 5; j++) {
				if(Math.abs(a[i] - a[j]) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int[] a = new int[5];
		int i,j;
		for(i = 0; i < 5; i++)
			a[i] = scan.nextInt();

		int k = scan.nextInt();

		for(i = 0; i < 4; i++) {
			for(j = i + 1; j < 5; j++) {
				if(Math.abs(a[i] - a[j]) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	}
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int[] a = new int[5];
		int i,j;
		for(i = 0; i < 5; i++)
			a[i] = scan.nextInt();

		int k = scan.nextInt();

		for(i = 0; i < 4; i++) {
			for(j = i + 1; j < 5; j++) {
				if(Math.abs(a[i] - a[j]) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	} main {
		Scanner scan = new Scanner(System.in);
		int[] a = new int[5];
		int i,j;
		for(i = 0; i < 5; i++)
			a[i] = scan.nextInt();

		int k = scan.nextInt();

		for(i = 0; i < 4; i++) {
			for(j = i + 1; j < 5; j++) {
				if(Math.abs(a[i] - a[j]) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int[] a = new int[5]; a new int[5] 5 int i i j; j for(i = 0; i < 5; i++)
			a[i] = scan.nextInt(); i = 0; i = 0 i 0 i < 5 i 5 i++ i++ i a[i] = scan.nextInt(); a[i] = scan.nextInt() a[i] a i scan.nextInt() scan.nextInt scan int k = scan.nextInt(); k scan.nextInt() scan.nextInt scan for(i = 0; i < 4; i++) {
			for(j = i + 1; j < 5; j++) {
				if(Math.abs(a[i] - a[j]) > k) {
					System.out.println(":(");
					return;
				}
			}
		} i = 0; i = 0 i 0 i < 4 i 4 i++ i++ i {
			for(j = i + 1; j < 5; j++) {
				if(Math.abs(a[i] - a[j]) > k) {
					System.out.println(":(");
					return;
				}
			}
		} {
			for(j = i + 1; j < 5; j++) {
				if(Math.abs(a[i] - a[j]) > k) {
					System.out.println(":(");
					return;
				}
			}
		} for(j = i + 1; j < 5; j++) {
				if(Math.abs(a[i] - a[j]) > k) {
					System.out.println(":(");
					return;
				}
			} j = i + 1; j = i + 1 j i + 1 i 1 j < 5 j 5 j++ j++ j {
				if(Math.abs(a[i] - a[j]) > k) {
					System.out.println(":(");
					return;
				}
			} {
				if(Math.abs(a[i] - a[j]) > k) {
					System.out.println(":(");
					return;
				}
			} if(Math.abs(a[i] - a[j]) > k) {
					System.out.println(":(");
					return;
				} Math.abs(a[i] - a[j]) > k Math.abs(a[i] - a[j]) Math.abs Math a[i] - a[j] a[i] a i a[j] a j k {
					System.out.println(":(");
					return;
				} System.out.println(":(") System.out.println System.out System System.out ":(" return; 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 scan = new Scanner(System.in);
		int[] a = new int[5];
		int i,j;
		for(i = 0; i < 5; i++)
			a[i] = scan.nextInt();

		int k = scan.nextInt();

		for(i = 0; i < 4; i++) {
			for(j = i + 1; j < 5; j++) {
				if(Math.abs(a[i] - a[j]) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	}
} public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int[] a = new int[5];
		int i,j;
		for(i = 0; i < 5; i++)
			a[i] = scan.nextInt();

		int k = scan.nextInt();

		for(i = 0; i < 4; i++) {
			for(j = i + 1; j < 5; j++) {
				if(Math.abs(a[i] - a[j]) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	}
} Main
import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int[] a = new int[5];
		int i,j;
		for(i = 0; i < 5; i++)
			a[i] = scan.nextInt();

		int k = scan.nextInt();

		for(i = 0; i < 4; i++) {
			for(j = i + 1; j < 5; j++) {
				if(Math.abs(a[i] - a[j]) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	}
}
