import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int[] a = new int[5];
		
		for(int i = 0; i < 5; i++) {
			a[i] = Integer.parseInt(sc.next());
		}
		
		int k = Integer.parseInt(sc.next());
		
		for(int i = 0; i < 5; i++) {
			for(int j = 4; j >= 0+(i+1); j--) {
				if(Math.max(a[i], a[j]) - Math.min(a[i], a[j]) > k) {
					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[] a = new int[5];
		
		for(int i = 0; i < 5; i++) {
			a[i] = Integer.parseInt(sc.next());
		}
		
		int k = Integer.parseInt(sc.next());
		
		for(int i = 0; i < 5; i++) {
			for(int j = 4; j >= 0+(i+1); j--) {
				if(Math.max(a[i], a[j]) - Math.min(a[i], a[j]) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int[] a = new int[5];
		
		for(int i = 0; i < 5; i++) {
			a[i] = Integer.parseInt(sc.next());
		}
		
		int k = Integer.parseInt(sc.next());
		
		for(int i = 0; i < 5; i++) {
			for(int j = 4; j >= 0+(i+1); j--) {
				if(Math.max(a[i], a[j]) - Math.min(a[i], a[j]) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		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] = Integer.parseInt(sc.next());
		}
		
		int k = Integer.parseInt(sc.next());
		
		for(int i = 0; i < 5; i++) {
			for(int j = 4; j >= 0+(i+1); j--) {
				if(Math.max(a[i], a[j]) - Math.min(a[i], a[j]) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		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] = Integer.parseInt(sc.next());
		} int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
			a[i] = Integer.parseInt(sc.next());
		} {
			a[i] = Integer.parseInt(sc.next());
		} a[i] = Integer.parseInt(sc.next()) a[i] a i Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int k = Integer.parseInt(sc.next()); k Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc for(int i = 0; i < 5; i++) {
			for(int j = 4; j >= 0+(i+1); j--) {
				if(Math.max(a[i], a[j]) - Math.min(a[i], a[j]) > k) {
					System.out.println(":(");
					return;
				}
			}
		} int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
			for(int j = 4; j >= 0+(i+1); j--) {
				if(Math.max(a[i], a[j]) - Math.min(a[i], a[j]) > k) {
					System.out.println(":(");
					return;
				}
			}
		} {
			for(int j = 4; j >= 0+(i+1); j--) {
				if(Math.max(a[i], a[j]) - Math.min(a[i], a[j]) > k) {
					System.out.println(":(");
					return;
				}
			}
		} for(int j = 4; j >= 0+(i+1); j--) {
				if(Math.max(a[i], a[j]) - Math.min(a[i], a[j]) > k) {
					System.out.println(":(");
					return;
				}
			} int j = 4; int j = 4; j 4 j >= 0+(i+1) j 0+(i+1) 0 (i+1) i 1 j-- j-- j {
				if(Math.max(a[i], a[j]) - Math.min(a[i], a[j]) > k) {
					System.out.println(":(");
					return;
				}
			} {
				if(Math.max(a[i], a[j]) - Math.min(a[i], a[j]) > k) {
					System.out.println(":(");
					return;
				}
			} if(Math.max(a[i], a[j]) - Math.min(a[i], a[j]) > k) {
					System.out.println(":(");
					return;
				} Math.max(a[i], a[j]) - Math.min(a[i], a[j]) > k Math.max(a[i], a[j]) - Math.min(a[i], a[j]) Math.max(a[i], a[j]) Math.max Math a[i] a i a[j] a j Math.min(a[i], a[j]) Math.min Math a[i] a i a[j] a j k {
					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[] a = new int[5];
		
		for(int i = 0; i < 5; i++) {
			a[i] = Integer.parseInt(sc.next());
		}
		
		int k = Integer.parseInt(sc.next());
		
		for(int i = 0; i < 5; i++) {
			for(int j = 4; j >= 0+(i+1); j--) {
				if(Math.max(a[i], a[j]) - Math.min(a[i], a[j]) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int[] a = new int[5];
		
		for(int i = 0; i < 5; i++) {
			a[i] = Integer.parseInt(sc.next());
		}
		
		int k = Integer.parseInt(sc.next());
		
		for(int i = 0; i < 5; i++) {
			for(int j = 4; j >= 0+(i+1); j--) {
				if(Math.max(a[i], a[j]) - Math.min(a[i], a[j]) > k) {
					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[] a = new int[5];
		
		for(int i = 0; i < 5; i++) {
			a[i] = Integer.parseInt(sc.next());
		}
		
		int k = Integer.parseInt(sc.next());
		
		for(int i = 0; i < 5; i++) {
			for(int j = 4; j >= 0+(i+1); j--) {
				if(Math.max(a[i], a[j]) - Math.min(a[i], a[j]) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	}
}
