
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int[] array = new int[6];
		for(int i =0; i < array.length; i++)
			array[i] = sc.nextInt();
		
		for(int i = 0; i < 5; i++) {
			for(int j = i+1; j < 5; j++) {
				if(array[j] - array[i] > array[array.length-1]) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int[] array = new int[6];
		for(int i =0; i < array.length; i++)
			array[i] = sc.nextInt();
		
		for(int i = 0; i < 5; i++) {
			for(int j = i+1; j < 5; j++) {
				if(array[j] - array[i] > array[array.length-1]) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int[] array = new int[6];
		for(int i =0; i < array.length; i++)
			array[i] = sc.nextInt();
		
		for(int i = 0; i < 5; i++) {
			for(int j = i+1; j < 5; j++) {
				if(array[j] - array[i] > array[array.length-1]) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	} main {
		Scanner sc = new Scanner(System.in);
		
		int[] array = new int[6];
		for(int i =0; i < array.length; i++)
			array[i] = sc.nextInt();
		
		for(int i = 0; i < 5; i++) {
			for(int j = i+1; j < 5; j++) {
				if(array[j] - array[i] > array[array.length-1]) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] array = new int[6]; array new int[6] 6 for(int i =0; i < array.length; i++)
			array[i] = sc.nextInt(); int i =0; int i =0; i 0 i < array.length i array.length array array.length i++ i++ i array[i] = sc.nextInt(); array[i] = sc.nextInt() array[i] array i sc.nextInt() sc.nextInt sc for(int i = 0; i < 5; i++) {
			for(int j = i+1; j < 5; j++) {
				if(array[j] - array[i] > array[array.length-1]) {
					System.out.println(":(");
					return;
				}
			}
		} int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
			for(int j = i+1; j < 5; j++) {
				if(array[j] - array[i] > array[array.length-1]) {
					System.out.println(":(");
					return;
				}
			}
		} {
			for(int j = i+1; j < 5; j++) {
				if(array[j] - array[i] > array[array.length-1]) {
					System.out.println(":(");
					return;
				}
			}
		} for(int j = i+1; j < 5; j++) {
				if(array[j] - array[i] > array[array.length-1]) {
					System.out.println(":(");
					return;
				}
			} int j = i+1; int j = i+1; j i+1 i 1 j < 5 j 5 j++ j++ j {
				if(array[j] - array[i] > array[array.length-1]) {
					System.out.println(":(");
					return;
				}
			} {
				if(array[j] - array[i] > array[array.length-1]) {
					System.out.println(":(");
					return;
				}
			} if(array[j] - array[i] > array[array.length-1]) {
					System.out.println(":(");
					return;
				} array[j] - array[i] > array[array.length-1] array[j] - array[i] array[j] array j array[i] array i array[array.length-1] array array.length-1 array.length array array.length 1 {
					System.out.println(":(");
					return;
				} System.out.println(":(") System.out.println System.out System System.out ":(" return; 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) {
		Scanner sc = new Scanner(System.in);
		
		int[] array = new int[6];
		for(int i =0; i < array.length; i++)
			array[i] = sc.nextInt();
		
		for(int i = 0; i < 5; i++) {
			for(int j = i+1; j < 5; j++) {
				if(array[j] - array[i] > array[array.length-1]) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int[] array = new int[6];
		for(int i =0; i < array.length; i++)
			array[i] = sc.nextInt();
		
		for(int i = 0; i < 5; i++) {
			for(int j = i+1; j < 5; j++) {
				if(array[j] - array[i] > array[array.length-1]) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	}
} Main

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int[] array = new int[6];
		for(int i =0; i < array.length; i++)
			array[i] = sc.nextInt();
		
		for(int i = 0; i < 5; i++) {
			for(int j = i+1; j < 5; j++) {
				if(array[j] - array[i] > array[array.length-1]) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	}
}