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

public class Main {
	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int[] x = new int[5];
		for(int i = 0;i<5;i++) {
			x[i]=scn.nextInt();
		}
		int y = scn.nextInt();
		Arrays.sort(x);
		if(x[4]-x[0]>y) {
			System.out.println(":(");
		}else {
			System.out.println("Yay!");
		}
		scn.close();
	}
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int[] x = new int[5];
		for(int i = 0;i<5;i++) {
			x[i]=scn.nextInt();
		}
		int y = scn.nextInt();
		Arrays.sort(x);
		if(x[4]-x[0]>y) {
			System.out.println(":(");
		}else {
			System.out.println("Yay!");
		}
		scn.close();
	}
} Main public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int[] x = new int[5];
		for(int i = 0;i<5;i++) {
			x[i]=scn.nextInt();
		}
		int y = scn.nextInt();
		Arrays.sort(x);
		if(x[4]-x[0]>y) {
			System.out.println(":(");
		}else {
			System.out.println("Yay!");
		}
		scn.close();
	} main {
		Scanner scn = new Scanner(System.in);
		int[] x = new int[5];
		for(int i = 0;i<5;i++) {
			x[i]=scn.nextInt();
		}
		int y = scn.nextInt();
		Arrays.sort(x);
		if(x[4]-x[0]>y) {
			System.out.println(":(");
		}else {
			System.out.println("Yay!");
		}
		scn.close();
	} Scanner scn = new Scanner(System.in); scn new Scanner(System.in) int[] x = new int[5]; x new int[5] 5 for(int i = 0;i<5;i++) {
			x[i]=scn.nextInt();
		} int i = 0; int i = 0; i 0 i<5 i 5 i++ i++ i {
			x[i]=scn.nextInt();
		} {
			x[i]=scn.nextInt();
		} x[i]=scn.nextInt() x[i] x i scn.nextInt() scn.nextInt scn int y = scn.nextInt(); y scn.nextInt() scn.nextInt scn Arrays.sort(x) Arrays.sort Arrays x if(x[4]-x[0]>y) {
			System.out.println(":(");
		}else {
			System.out.println("Yay!");
		} x[4]-x[0]>y x[4]-x[0] x[4] x 4 x[0] x 0 y {
			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!" scn.close() scn.close scn String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int[] x = new int[5];
		for(int i = 0;i<5;i++) {
			x[i]=scn.nextInt();
		}
		int y = scn.nextInt();
		Arrays.sort(x);
		if(x[4]-x[0]>y) {
			System.out.println(":(");
		}else {
			System.out.println("Yay!");
		}
		scn.close();
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int[] x = new int[5];
		for(int i = 0;i<5;i++) {
			x[i]=scn.nextInt();
		}
		int y = scn.nextInt();
		Arrays.sort(x);
		if(x[4]-x[0]>y) {
			System.out.println(":(");
		}else {
			System.out.println("Yay!");
		}
		scn.close();
	}
} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int[] x = new int[5];
		for(int i = 0;i<5;i++) {
			x[i]=scn.nextInt();
		}
		int y = scn.nextInt();
		Arrays.sort(x);
		if(x[4]-x[0]>y) {
			System.out.println(":(");
		}else {
			System.out.println("Yay!");
		}
		scn.close();
	}
}
