import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;

class Main {
	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		List<Integer> list = new ArrayList();
		for(int i=1; i<=5; i++) {
			list.add(Integer.parseInt(sc.next()));
		}
		int k = Integer.parseInt(sc.next());
		Collections.sort(list);
		Collections.reverse(list);
		for(Integer a:list) {
			if(a-list.get(4) > k) {
				System.out.println(":(");
				return;
			}
		}
		System.out.println("Yay!");
	}
} import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util class Main {
	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		List<Integer> list = new ArrayList();
		for(int i=1; i<=5; i++) {
			list.add(Integer.parseInt(sc.next()));
		}
		int k = Integer.parseInt(sc.next());
		Collections.sort(list);
		Collections.reverse(list);
		for(Integer a:list) {
			if(a-list.get(4) > k) {
				System.out.println(":(");
				return;
			}
		}
		System.out.println("Yay!");
	}
} Main public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		List<Integer> list = new ArrayList();
		for(int i=1; i<=5; i++) {
			list.add(Integer.parseInt(sc.next()));
		}
		int k = Integer.parseInt(sc.next());
		Collections.sort(list);
		Collections.reverse(list);
		for(Integer a:list) {
			if(a-list.get(4) > k) {
				System.out.println(":(");
				return;
			}
		}
		System.out.println("Yay!");
	} main {

		Scanner sc = new Scanner(System.in);

		List<Integer> list = new ArrayList();
		for(int i=1; i<=5; i++) {
			list.add(Integer.parseInt(sc.next()));
		}
		int k = Integer.parseInt(sc.next());
		Collections.sort(list);
		Collections.reverse(list);
		for(Integer a:list) {
			if(a-list.get(4) > k) {
				System.out.println(":(");
				return;
			}
		}
		System.out.println("Yay!");
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) List<Integer> list = new ArrayList(); list new ArrayList() for(int i=1; i<=5; i++) {
			list.add(Integer.parseInt(sc.next()));
		} int i=1; int i=1; i 1 i<=5 i 5 i++ i++ i {
			list.add(Integer.parseInt(sc.next()));
		} {
			list.add(Integer.parseInt(sc.next()));
		} list.add(Integer.parseInt(sc.next())) list.add list 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 Collections.sort(list) Collections.sort Collections list Collections.reverse(list) Collections.reverse Collections list for(Integer a:list) {
			if(a-list.get(4) > k) {
				System.out.println(":(");
				return;
			}
		} Integer a list {
			if(a-list.get(4) > k) {
				System.out.println(":(");
				return;
			}
		} {
			if(a-list.get(4) > k) {
				System.out.println(":(");
				return;
			}
		} if(a-list.get(4) > k) {
				System.out.println(":(");
				return;
			} a-list.get(4) > k a-list.get(4) a list.get(4) list.get list 4 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
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;

class Main {
	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		List<Integer> list = new ArrayList();
		for(int i=1; i<=5; i++) {
			list.add(Integer.parseInt(sc.next()));
		}
		int k = Integer.parseInt(sc.next());
		Collections.sort(list);
		Collections.reverse(list);
		for(Integer a:list) {
			if(a-list.get(4) > k) {
				System.out.println(":(");
				return;
			}
		}
		System.out.println("Yay!");
	}
}
