import java.util.Scanner;
 
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
 
		int[] point = new int[5];
		int k;
		String ans = "Yay!";
 
		//入力
		for(int i=0; i<point.length; i++) {
			point[i] = sc.nextInt();
		}
		k = sc.nextInt();
 
		cmp: for(int i=0; i<point.length; i++) {
			for(int j=i+1; j<point.length; j++) {
				int p = point[i];
				int q = point[j];
				if((q-p) > k) {
					ans = ":(";
					break cmp;
				}
			}
		}
 
		System.out.println(ans);
 
		sc.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
 
		int[] point = new int[5];
		int k;
		String ans = "Yay!";
 
		//入力
		for(int i=0; i<point.length; i++) {
			point[i] = sc.nextInt();
		}
		k = sc.nextInt();
 
		cmp: for(int i=0; i<point.length; i++) {
			for(int j=i+1; j<point.length; j++) {
				int p = point[i];
				int q = point[j];
				if((q-p) > k) {
					ans = ":(";
					break cmp;
				}
			}
		}
 
		System.out.println(ans);
 
		sc.close();
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
 
		int[] point = new int[5];
		int k;
		String ans = "Yay!";
 
		//入力
		for(int i=0; i<point.length; i++) {
			point[i] = sc.nextInt();
		}
		k = sc.nextInt();
 
		cmp: for(int i=0; i<point.length; i++) {
			for(int j=i+1; j<point.length; j++) {
				int p = point[i];
				int q = point[j];
				if((q-p) > k) {
					ans = ":(";
					break cmp;
				}
			}
		}
 
		System.out.println(ans);
 
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
 
		int[] point = new int[5];
		int k;
		String ans = "Yay!";
 
		//入力
		for(int i=0; i<point.length; i++) {
			point[i] = sc.nextInt();
		}
		k = sc.nextInt();
 
		cmp: for(int i=0; i<point.length; i++) {
			for(int j=i+1; j<point.length; j++) {
				int p = point[i];
				int q = point[j];
				if((q-p) > k) {
					ans = ":(";
					break cmp;
				}
			}
		}
 
		System.out.println(ans);
 
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] point = new int[5]; point new int[5] 5 int k; k String ans = "Yay!"; ans "Yay!" for(int i=0; i<point.length; i++) {
			point[i] = sc.nextInt();
		} int i=0; int i=0; i 0 i<point.length i point.length point point.length i++ i++ i {
			point[i] = sc.nextInt();
		} {
			point[i] = sc.nextInt();
		} point[i] = sc.nextInt() point[i] point i sc.nextInt() sc.nextInt sc k = sc.nextInt() k sc.nextInt() sc.nextInt sc System.out.println(ans) System.out.println System.out System System.out ans sc.close() sc.close sc String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
 
		int[] point = new int[5];
		int k;
		String ans = "Yay!";
 
		//入力
		for(int i=0; i<point.length; i++) {
			point[i] = sc.nextInt();
		}
		k = sc.nextInt();
 
		cmp: for(int i=0; i<point.length; i++) {
			for(int j=i+1; j<point.length; j++) {
				int p = point[i];
				int q = point[j];
				if((q-p) > k) {
					ans = ":(";
					break cmp;
				}
			}
		}
 
		System.out.println(ans);
 
		sc.close();
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
 
		int[] point = new int[5];
		int k;
		String ans = "Yay!";
 
		//入力
		for(int i=0; i<point.length; i++) {
			point[i] = sc.nextInt();
		}
		k = sc.nextInt();
 
		cmp: for(int i=0; i<point.length; i++) {
			for(int j=i+1; j<point.length; j++) {
				int p = point[i];
				int q = point[j];
				if((q-p) > k) {
					ans = ":(";
					break cmp;
				}
			}
		}
 
		System.out.println(ans);
 
		sc.close();
	}
} Main
import java.util.Scanner;
 
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
 
		int[] point = new int[5];
		int k;
		String ans = "Yay!";
 
		//入力
		for(int i=0; i<point.length; i++) {
			point[i] = sc.nextInt();
		}
		k = sc.nextInt();
 
		cmp: for(int i=0; i<point.length; i++) {
			for(int j=i+1; j<point.length; j++) {
				int p = point[i];
				int q = point[j];
				if((q-p) > k) {
					ans = ":(";
					break cmp;
				}
			}
		}
 
		System.out.println(ans);
 
		sc.close();
	}
}