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