import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scn =new Scanner(System.in);
		int aaa[] =new int[5];
		for(int i=0;i<5;i++){
			aaa[i]=scn.nextInt();
		}
		int k=scn.nextInt();
		if(aaa[1]-aaa[0]<=k&&aaa[2]-aaa[0]<=k&&aaa[3]-aaa[0]<=k&&aaa[4]-aaa[0]<=k&&aaa[2]-aaa[1]<=k&&aaa[3]-aaa[1]<=k&&aaa[4]-aaa[1]<=k&&aaa[3]-aaa[2]<=k&&aaa[4]-aaa[2]<=k&&aaa[4]-aaa[3]<=k){
			System.out.println("Yay!");
		}else{
			System.out.println(":(");
		}
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner scn =new Scanner(System.in);
		int aaa[] =new int[5];
		for(int i=0;i<5;i++){
			aaa[i]=scn.nextInt();
		}
		int k=scn.nextInt();
		if(aaa[1]-aaa[0]<=k&&aaa[2]-aaa[0]<=k&&aaa[3]-aaa[0]<=k&&aaa[4]-aaa[0]<=k&&aaa[2]-aaa[1]<=k&&aaa[3]-aaa[1]<=k&&aaa[4]-aaa[1]<=k&&aaa[3]-aaa[2]<=k&&aaa[4]-aaa[2]<=k&&aaa[4]-aaa[3]<=k){
			System.out.println("Yay!");
		}else{
			System.out.println(":(");
		}
	}

} Main public static void main(String[] args) {
		Scanner scn =new Scanner(System.in);
		int aaa[] =new int[5];
		for(int i=0;i<5;i++){
			aaa[i]=scn.nextInt();
		}
		int k=scn.nextInt();
		if(aaa[1]-aaa[0]<=k&&aaa[2]-aaa[0]<=k&&aaa[3]-aaa[0]<=k&&aaa[4]-aaa[0]<=k&&aaa[2]-aaa[1]<=k&&aaa[3]-aaa[1]<=k&&aaa[4]-aaa[1]<=k&&aaa[3]-aaa[2]<=k&&aaa[4]-aaa[2]<=k&&aaa[4]-aaa[3]<=k){
			System.out.println("Yay!");
		}else{
			System.out.println(":(");
		}
	} main {
		Scanner scn =new Scanner(System.in);
		int aaa[] =new int[5];
		for(int i=0;i<5;i++){
			aaa[i]=scn.nextInt();
		}
		int k=scn.nextInt();
		if(aaa[1]-aaa[0]<=k&&aaa[2]-aaa[0]<=k&&aaa[3]-aaa[0]<=k&&aaa[4]-aaa[0]<=k&&aaa[2]-aaa[1]<=k&&aaa[3]-aaa[1]<=k&&aaa[4]-aaa[1]<=k&&aaa[3]-aaa[2]<=k&&aaa[4]-aaa[2]<=k&&aaa[4]-aaa[3]<=k){
			System.out.println("Yay!");
		}else{
			System.out.println(":(");
		}
	} Scanner scn =new Scanner(System.in); scn new Scanner(System.in) int aaa[] =new int[5]; aaa new int[5] 5 for(int i=0;i<5;i++){
			aaa[i]=scn.nextInt();
		} int i=0; int i=0; i 0 i<5 i 5 i++ i++ i {
			aaa[i]=scn.nextInt();
		} {
			aaa[i]=scn.nextInt();
		} aaa[i]=scn.nextInt() aaa[i] aaa i scn.nextInt() scn.nextInt scn int k=scn.nextInt(); k scn.nextInt() scn.nextInt scn if(aaa[1]-aaa[0]<=k&&aaa[2]-aaa[0]<=k&&aaa[3]-aaa[0]<=k&&aaa[4]-aaa[0]<=k&&aaa[2]-aaa[1]<=k&&aaa[3]-aaa[1]<=k&&aaa[4]-aaa[1]<=k&&aaa[3]-aaa[2]<=k&&aaa[4]-aaa[2]<=k&&aaa[4]-aaa[3]<=k){
			System.out.println("Yay!");
		}else{
			System.out.println(":(");
		} aaa[1]-aaa[0]<=k&&aaa[2]-aaa[0]<=k&&aaa[3]-aaa[0]<=k&&aaa[4]-aaa[0]<=k&&aaa[2]-aaa[1]<=k&&aaa[3]-aaa[1]<=k&&aaa[4]-aaa[1]<=k&&aaa[3]-aaa[2]<=k&&aaa[4]-aaa[2]<=k&&aaa[4]-aaa[3]<=k aaa[4]-aaa[2]<=k aaa[3]-aaa[2]<=k aaa[4]-aaa[1]<=k aaa[3]-aaa[1]<=k aaa[2]-aaa[1]<=k aaa[4]-aaa[0]<=k aaa[3]-aaa[0]<=k aaa[1]-aaa[0]<=k&&aaa[2]-aaa[0]<=k&&aaa[3]-aaa[0]<=k&&aaa[4]-aaa[0]<=k&&aaa[2]-aaa[1]<=k&&aaa[3]-aaa[1]<=k&&aaa[4]-aaa[1]<=k&&aaa[3]-aaa[2]<=k&&aaa[4]-aaa[2]<=k&&aaa[4]-aaa[3]<=k aaa[1]-aaa[0]<=k aaa[1]-aaa[0] aaa[1] aaa 1 aaa[0] aaa 0 k aaa[2]-aaa[0]<=k aaa[2]-aaa[0] aaa[2] aaa 2 aaa[0] aaa 0 k aaa[3]-aaa[0]<=k aaa[3]-aaa[0] aaa[3] aaa 3 aaa[0] aaa 0 k aaa[4]-aaa[0]<=k aaa[4]-aaa[0] aaa[4] aaa 4 aaa[0] aaa 0 k aaa[2]-aaa[1]<=k aaa[2]-aaa[1] aaa[2] aaa 2 aaa[1] aaa 1 k aaa[3]-aaa[1]<=k aaa[3]-aaa[1] aaa[3] aaa 3 aaa[1] aaa 1 k aaa[4]-aaa[1]<=k aaa[4]-aaa[1] aaa[4] aaa 4 aaa[1] aaa 1 k aaa[3]-aaa[2]<=k aaa[3]-aaa[2] aaa[3] aaa 3 aaa[2] aaa 2 k aaa[4]-aaa[2]<=k aaa[4]-aaa[2] aaa[4] aaa 4 aaa[2] aaa 2 k aaa[4]-aaa[3]<=k aaa[4]-aaa[3] aaa[4] aaa 4 aaa[3] aaa 3 k {
			System.out.println("Yay!");
		} System.out.println("Yay!") System.out.println System.out System System.out "Yay!" {
			System.out.println(":(");
		} System.out.println(":(") System.out.println System.out System System.out ":(" String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scn =new Scanner(System.in);
		int aaa[] =new int[5];
		for(int i=0;i<5;i++){
			aaa[i]=scn.nextInt();
		}
		int k=scn.nextInt();
		if(aaa[1]-aaa[0]<=k&&aaa[2]-aaa[0]<=k&&aaa[3]-aaa[0]<=k&&aaa[4]-aaa[0]<=k&&aaa[2]-aaa[1]<=k&&aaa[3]-aaa[1]<=k&&aaa[4]-aaa[1]<=k&&aaa[3]-aaa[2]<=k&&aaa[4]-aaa[2]<=k&&aaa[4]-aaa[3]<=k){
			System.out.println("Yay!");
		}else{
			System.out.println(":(");
		}
	}

} public class Main {

	public static void main(String[] args) {
		Scanner scn =new Scanner(System.in);
		int aaa[] =new int[5];
		for(int i=0;i<5;i++){
			aaa[i]=scn.nextInt();
		}
		int k=scn.nextInt();
		if(aaa[1]-aaa[0]<=k&&aaa[2]-aaa[0]<=k&&aaa[3]-aaa[0]<=k&&aaa[4]-aaa[0]<=k&&aaa[2]-aaa[1]<=k&&aaa[3]-aaa[1]<=k&&aaa[4]-aaa[1]<=k&&aaa[3]-aaa[2]<=k&&aaa[4]-aaa[2]<=k&&aaa[4]-aaa[3]<=k){
			System.out.println("Yay!");
		}else{
			System.out.println(":(");
		}
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scn =new Scanner(System.in);
		int aaa[] =new int[5];
		for(int i=0;i<5;i++){
			aaa[i]=scn.nextInt();
		}
		int k=scn.nextInt();
		if(aaa[1]-aaa[0]<=k&&aaa[2]-aaa[0]<=k&&aaa[3]-aaa[0]<=k&&aaa[4]-aaa[0]<=k&&aaa[2]-aaa[1]<=k&&aaa[3]-aaa[1]<=k&&aaa[4]-aaa[1]<=k&&aaa[3]-aaa[2]<=k&&aaa[4]-aaa[2]<=k&&aaa[4]-aaa[3]<=k){
			System.out.println("Yay!");
		}else{
			System.out.println(":(");
		}
	}

}
