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

public class Main {
	public static void main(String[] args){
		int k;
		List<Integer> spot = new ArrayList<>();

		Scanner scanner = new Scanner(System.in);
		
		for (int i = 0; i < 5; i++) {
			spot.add(scanner.nextInt());
		}
		k = scanner.nextInt();
		scanner.close();

		List<Integer> tmpSpot = new ArrayList<>(spot);
		
		for(int i = 0; i < 3; i++) {
			tmpSpot.remove(i);
			for (int l : tmpSpot) {
				if ((l - spot.get(i)) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	}
} import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		int k;
		List<Integer> spot = new ArrayList<>();

		Scanner scanner = new Scanner(System.in);
		
		for (int i = 0; i < 5; i++) {
			spot.add(scanner.nextInt());
		}
		k = scanner.nextInt();
		scanner.close();

		List<Integer> tmpSpot = new ArrayList<>(spot);
		
		for(int i = 0; i < 3; i++) {
			tmpSpot.remove(i);
			for (int l : tmpSpot) {
				if ((l - spot.get(i)) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	}
} Main public static void main(String[] args){
		int k;
		List<Integer> spot = new ArrayList<>();

		Scanner scanner = new Scanner(System.in);
		
		for (int i = 0; i < 5; i++) {
			spot.add(scanner.nextInt());
		}
		k = scanner.nextInt();
		scanner.close();

		List<Integer> tmpSpot = new ArrayList<>(spot);
		
		for(int i = 0; i < 3; i++) {
			tmpSpot.remove(i);
			for (int l : tmpSpot) {
				if ((l - spot.get(i)) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	} main {
		int k;
		List<Integer> spot = new ArrayList<>();

		Scanner scanner = new Scanner(System.in);
		
		for (int i = 0; i < 5; i++) {
			spot.add(scanner.nextInt());
		}
		k = scanner.nextInt();
		scanner.close();

		List<Integer> tmpSpot = new ArrayList<>(spot);
		
		for(int i = 0; i < 3; i++) {
			tmpSpot.remove(i);
			for (int l : tmpSpot) {
				if ((l - spot.get(i)) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	} int k; k List<Integer> spot = new ArrayList<>(); spot new ArrayList<>() Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) for (int i = 0; i < 5; i++) {
			spot.add(scanner.nextInt());
		} int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
			spot.add(scanner.nextInt());
		} {
			spot.add(scanner.nextInt());
		} spot.add(scanner.nextInt()) spot.add spot scanner.nextInt() scanner.nextInt scanner k = scanner.nextInt() k scanner.nextInt() scanner.nextInt scanner scanner.close() scanner.close scanner List<Integer> tmpSpot = new ArrayList<>(spot); tmpSpot new ArrayList<>(spot) for(int i = 0; i < 3; i++) {
			tmpSpot.remove(i);
			for (int l : tmpSpot) {
				if ((l - spot.get(i)) > k) {
					System.out.println(":(");
					return;
				}
			}
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			tmpSpot.remove(i);
			for (int l : tmpSpot) {
				if ((l - spot.get(i)) > k) {
					System.out.println(":(");
					return;
				}
			}
		} {
			tmpSpot.remove(i);
			for (int l : tmpSpot) {
				if ((l - spot.get(i)) > k) {
					System.out.println(":(");
					return;
				}
			}
		} tmpSpot.remove(i) tmpSpot.remove tmpSpot i for (int l : tmpSpot) {
				if ((l - spot.get(i)) > k) {
					System.out.println(":(");
					return;
				}
			} int l tmpSpot {
				if ((l - spot.get(i)) > k) {
					System.out.println(":(");
					return;
				}
			} {
				if ((l - spot.get(i)) > k) {
					System.out.println(":(");
					return;
				}
			} if ((l - spot.get(i)) > k) {
					System.out.println(":(");
					return;
				} (l - spot.get(i)) > k (l - spot.get(i)) l spot.get(i) spot.get spot i 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){
		int k;
		List<Integer> spot = new ArrayList<>();

		Scanner scanner = new Scanner(System.in);
		
		for (int i = 0; i < 5; i++) {
			spot.add(scanner.nextInt());
		}
		k = scanner.nextInt();
		scanner.close();

		List<Integer> tmpSpot = new ArrayList<>(spot);
		
		for(int i = 0; i < 3; i++) {
			tmpSpot.remove(i);
			for (int l : tmpSpot) {
				if ((l - spot.get(i)) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	}
} public class Main {
	public static void main(String[] args){
		int k;
		List<Integer> spot = new ArrayList<>();

		Scanner scanner = new Scanner(System.in);
		
		for (int i = 0; i < 5; i++) {
			spot.add(scanner.nextInt());
		}
		k = scanner.nextInt();
		scanner.close();

		List<Integer> tmpSpot = new ArrayList<>(spot);
		
		for(int i = 0; i < 3; i++) {
			tmpSpot.remove(i);
			for (int l : tmpSpot) {
				if ((l - spot.get(i)) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	}
} Main
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		int k;
		List<Integer> spot = new ArrayList<>();

		Scanner scanner = new Scanner(System.in);
		
		for (int i = 0; i < 5; i++) {
			spot.add(scanner.nextInt());
		}
		k = scanner.nextInt();
		scanner.close();

		List<Integer> tmpSpot = new ArrayList<>(spot);
		
		for(int i = 0; i < 3; i++) {
			tmpSpot.remove(i);
			for (int l : tmpSpot) {
				if ((l - spot.get(i)) > k) {
					System.out.println(":(");
					return;
				}
			}
		}
		System.out.println("Yay!");
	}
}
