import java.util.*;
public class Main{
	public static void main(String[] args){
		int[] a = {-1,-1,-1,-1,-1,-1};
		int dis;
		boolean is = true;
		Scanner sc = new Scanner(System.in);
		while(a[0] < 0 || a[1] < 0 || a[2] < 0 || a[3] < 0 || a[4] < 0 || a[5] < 0|| a[0] > 123 || a[1] > 123 || a[2] > 123 || a[3] > 123 || a[4] > 123|| a[5] > 123|| a[0] > a[1] || a[1] > a[2] || a[2] > a[3] || a[3] > a[4]){
			for(int i = 0; i < 6; i++){
				a[i] = sc.nextInt();
			}
		}
		for(int i = 0; i < 4; i++){
			for(int j = i + 1; j < 5; j++){
				dis = a[j] - a[i];
				if(dis > a[5]){
					System.out.println(":(");
						i = 4;
						j = 6;
						is = false;
				}
			}
		}
			if(is){
				System.out.println("Yay!");
			}
	}
} import java.util.*; util.* java public class Main{
	public static void main(String[] args){
		int[] a = {-1,-1,-1,-1,-1,-1};
		int dis;
		boolean is = true;
		Scanner sc = new Scanner(System.in);
		while(a[0] < 0 || a[1] < 0 || a[2] < 0 || a[3] < 0 || a[4] < 0 || a[5] < 0|| a[0] > 123 || a[1] > 123 || a[2] > 123 || a[3] > 123 || a[4] > 123|| a[5] > 123|| a[0] > a[1] || a[1] > a[2] || a[2] > a[3] || a[3] > a[4]){
			for(int i = 0; i < 6; i++){
				a[i] = sc.nextInt();
			}
		}
		for(int i = 0; i < 4; i++){
			for(int j = i + 1; j < 5; j++){
				dis = a[j] - a[i];
				if(dis > a[5]){
					System.out.println(":(");
						i = 4;
						j = 6;
						is = false;
				}
			}
		}
			if(is){
				System.out.println("Yay!");
			}
	}
} Main public static void main(String[] args){
		int[] a = {-1,-1,-1,-1,-1,-1};
		int dis;
		boolean is = true;
		Scanner sc = new Scanner(System.in);
		while(a[0] < 0 || a[1] < 0 || a[2] < 0 || a[3] < 0 || a[4] < 0 || a[5] < 0|| a[0] > 123 || a[1] > 123 || a[2] > 123 || a[3] > 123 || a[4] > 123|| a[5] > 123|| a[0] > a[1] || a[1] > a[2] || a[2] > a[3] || a[3] > a[4]){
			for(int i = 0; i < 6; i++){
				a[i] = sc.nextInt();
			}
		}
		for(int i = 0; i < 4; i++){
			for(int j = i + 1; j < 5; j++){
				dis = a[j] - a[i];
				if(dis > a[5]){
					System.out.println(":(");
						i = 4;
						j = 6;
						is = false;
				}
			}
		}
			if(is){
				System.out.println("Yay!");
			}
	} main {
		int[] a = {-1,-1,-1,-1,-1,-1};
		int dis;
		boolean is = true;
		Scanner sc = new Scanner(System.in);
		while(a[0] < 0 || a[1] < 0 || a[2] < 0 || a[3] < 0 || a[4] < 0 || a[5] < 0|| a[0] > 123 || a[1] > 123 || a[2] > 123 || a[3] > 123 || a[4] > 123|| a[5] > 123|| a[0] > a[1] || a[1] > a[2] || a[2] > a[3] || a[3] > a[4]){
			for(int i = 0; i < 6; i++){
				a[i] = sc.nextInt();
			}
		}
		for(int i = 0; i < 4; i++){
			for(int j = i + 1; j < 5; j++){
				dis = a[j] - a[i];
				if(dis > a[5]){
					System.out.println(":(");
						i = 4;
						j = 6;
						is = false;
				}
			}
		}
			if(is){
				System.out.println("Yay!");
			}
	} int[] a = {-1,-1,-1,-1,-1,-1}; a {-1,-1,-1,-1,-1,-1} -1 1 -1 1 -1 1 -1 1 -1 1 -1 1 int dis; dis boolean is = true; is true Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while(a[0] < 0 || a[1] < 0 || a[2] < 0 || a[3] < 0 || a[4] < 0 || a[5] < 0|| a[0] > 123 || a[1] > 123 || a[2] > 123 || a[3] > 123 || a[4] > 123|| a[5] > 123|| a[0] > a[1] || a[1] > a[2] || a[2] > a[3] || a[3] > a[4]){
			for(int i = 0; i < 6; i++){
				a[i] = sc.nextInt();
			}
		} a[0] < 0 || a[1] < 0 || a[2] < 0 || a[3] < 0 || a[4] < 0 || a[5] < 0|| a[0] > 123 || a[1] > 123 || a[2] > 123 || a[3] > 123 || a[4] > 123|| a[5] > 123|| a[0] > a[1] || a[1] > a[2] || a[2] > a[3] || a[3] > a[4] a[2] > a[3] a[1] > a[2] a[0] > a[1] a[5] > 123 a[4] > 123 a[3] > 123 a[2] > 123 a[1] > 123 a[0] > 123 a[5] < 0 a[4] < 0 a[3] < 0 a[2] < 0 a[0] < 0 || a[1] < 0 || a[2] < 0 || a[3] < 0 || a[4] < 0 || a[5] < 0|| a[0] > 123 || a[1] > 123 || a[2] > 123 || a[3] > 123 || a[4] > 123|| a[5] > 123|| a[0] > a[1] || a[1] > a[2] || a[2] > a[3] || a[3] > a[4] a[0] < 0 a[0] a 0 0 a[1] < 0 a[1] a 1 0 a[2] < 0 a[2] a 2 0 a[3] < 0 a[3] a 3 0 a[4] < 0 a[4] a 4 0 a[5] < 0 a[5] a 5 0 a[0] > 123 a[0] a 0 123 a[1] > 123 a[1] a 1 123 a[2] > 123 a[2] a 2 123 a[3] > 123 a[3] a 3 123 a[4] > 123 a[4] a 4 123 a[5] > 123 a[5] a 5 123 a[0] > a[1] a[0] a 0 a[1] a 1 a[1] > a[2] a[1] a 1 a[2] a 2 a[2] > a[3] a[2] a 2 a[3] a 3 a[3] > a[4] a[3] a 3 a[4] a 4 {
			for(int i = 0; i < 6; i++){
				a[i] = sc.nextInt();
			}
		} for(int i = 0; i < 6; i++){
				a[i] = sc.nextInt();
			} int i = 0; int i = 0; i 0 i < 6 i 6 i++ i++ i {
				a[i] = sc.nextInt();
			} {
				a[i] = sc.nextInt();
			} a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc for(int i = 0; i < 4; i++){
			for(int j = i + 1; j < 5; j++){
				dis = a[j] - a[i];
				if(dis > a[5]){
					System.out.println(":(");
						i = 4;
						j = 6;
						is = false;
				}
			}
		} int i = 0; int i = 0; i 0 i < 4 i 4 i++ i++ i {
			for(int j = i + 1; j < 5; j++){
				dis = a[j] - a[i];
				if(dis > a[5]){
					System.out.println(":(");
						i = 4;
						j = 6;
						is = false;
				}
			}
		} {
			for(int j = i + 1; j < 5; j++){
				dis = a[j] - a[i];
				if(dis > a[5]){
					System.out.println(":(");
						i = 4;
						j = 6;
						is = false;
				}
			}
		} for(int j = i + 1; j < 5; j++){
				dis = a[j] - a[i];
				if(dis > a[5]){
					System.out.println(":(");
						i = 4;
						j = 6;
						is = false;
				}
			} int j = i + 1; int j = i + 1; j i + 1 i 1 j < 5 j 5 j++ j++ j {
				dis = a[j] - a[i];
				if(dis > a[5]){
					System.out.println(":(");
						i = 4;
						j = 6;
						is = false;
				}
			} {
				dis = a[j] - a[i];
				if(dis > a[5]){
					System.out.println(":(");
						i = 4;
						j = 6;
						is = false;
				}
			} dis = a[j] - a[i] dis a[j] - a[i] a[j] a j a[i] a i if(dis > a[5]){
					System.out.println(":(");
						i = 4;
						j = 6;
						is = false;
				} dis > a[5] dis a[5] a 5 {
					System.out.println(":(");
						i = 4;
						j = 6;
						is = false;
				} System.out.println(":(") System.out.println System.out System System.out ":(" i = 4 i 4 j = 6 j 6 is = false is false if(is){
				System.out.println("Yay!");
			} is {
				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){
		int[] a = {-1,-1,-1,-1,-1,-1};
		int dis;
		boolean is = true;
		Scanner sc = new Scanner(System.in);
		while(a[0] < 0 || a[1] < 0 || a[2] < 0 || a[3] < 0 || a[4] < 0 || a[5] < 0|| a[0] > 123 || a[1] > 123 || a[2] > 123 || a[3] > 123 || a[4] > 123|| a[5] > 123|| a[0] > a[1] || a[1] > a[2] || a[2] > a[3] || a[3] > a[4]){
			for(int i = 0; i < 6; i++){
				a[i] = sc.nextInt();
			}
		}
		for(int i = 0; i < 4; i++){
			for(int j = i + 1; j < 5; j++){
				dis = a[j] - a[i];
				if(dis > a[5]){
					System.out.println(":(");
						i = 4;
						j = 6;
						is = false;
				}
			}
		}
			if(is){
				System.out.println("Yay!");
			}
	}
} public class Main{
	public static void main(String[] args){
		int[] a = {-1,-1,-1,-1,-1,-1};
		int dis;
		boolean is = true;
		Scanner sc = new Scanner(System.in);
		while(a[0] < 0 || a[1] < 0 || a[2] < 0 || a[3] < 0 || a[4] < 0 || a[5] < 0|| a[0] > 123 || a[1] > 123 || a[2] > 123 || a[3] > 123 || a[4] > 123|| a[5] > 123|| a[0] > a[1] || a[1] > a[2] || a[2] > a[3] || a[3] > a[4]){
			for(int i = 0; i < 6; i++){
				a[i] = sc.nextInt();
			}
		}
		for(int i = 0; i < 4; i++){
			for(int j = i + 1; j < 5; j++){
				dis = a[j] - a[i];
				if(dis > a[5]){
					System.out.println(":(");
						i = 4;
						j = 6;
						is = false;
				}
			}
		}
			if(is){
				System.out.println("Yay!");
			}
	}
} Main
import java.util.*;
public class Main{
	public static void main(String[] args){
		int[] a = {-1,-1,-1,-1,-1,-1};
		int dis;
		boolean is = true;
		Scanner sc = new Scanner(System.in);
		while(a[0] < 0 || a[1] < 0 || a[2] < 0 || a[3] < 0 || a[4] < 0 || a[5] < 0|| a[0] > 123 || a[1] > 123 || a[2] > 123 || a[3] > 123 || a[4] > 123|| a[5] > 123|| a[0] > a[1] || a[1] > a[2] || a[2] > a[3] || a[3] > a[4]){
			for(int i = 0; i < 6; i++){
				a[i] = sc.nextInt();
			}
		}
		for(int i = 0; i < 4; i++){
			for(int j = i + 1; j < 5; j++){
				dis = a[j] - a[i];
				if(dis > a[5]){
					System.out.println(":(");
						i = 4;
						j = 6;
						is = false;
				}
			}
		}
			if(is){
				System.out.println("Yay!");
			}
	}
}