import java.io.*;
import java.util.Scanner;


public class Main {

	private static Scanner sc;
	private static Printer pr;

	private static void solve() {
		int[] abcde = new int[5];
		for (int i = 0; i < 5; i++) {
			abcde[i] = sc.nextInt();
		}
		int k = sc.nextInt();

		int cnt = 0;
		for (int i = 0; i < 5; i++) {
			for (int j = i + 1; j < 5; j++) {
				if (abcde[j] - abcde[i] <= k) {
					cnt++;
				}
			}
		}

		if (cnt < 10) {
			pr.println(":(");
		} else {
			pr.println("Yay!");
		}
	}

	// ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		pr = new Printer(System.out);
			
		solve();
			
		pr.close();
		sc.close();
	}

	static class Printer extends PrintWriter {
		Printer(OutputStream out) {
			super(out);
		}
	}
} import java.io.*; io.* java import java.util.Scanner; Scanner java.util public class Main {

	private static Scanner sc;
	private static Printer pr;

	private static void solve() {
		int[] abcde = new int[5];
		for (int i = 0; i < 5; i++) {
			abcde[i] = sc.nextInt();
		}
		int k = sc.nextInt();

		int cnt = 0;
		for (int i = 0; i < 5; i++) {
			for (int j = i + 1; j < 5; j++) {
				if (abcde[j] - abcde[i] <= k) {
					cnt++;
				}
			}
		}

		if (cnt < 10) {
			pr.println(":(");
		} else {
			pr.println("Yay!");
		}
	}

	// ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		pr = new Printer(System.out);
			
		solve();
			
		pr.close();
		sc.close();
	}

	static class Printer extends PrintWriter {
		Printer(OutputStream out) {
			super(out);
		}
	}
} Main private static Scanner sc; sc private static Printer pr; pr private static void solve() {
		int[] abcde = new int[5];
		for (int i = 0; i < 5; i++) {
			abcde[i] = sc.nextInt();
		}
		int k = sc.nextInt();

		int cnt = 0;
		for (int i = 0; i < 5; i++) {
			for (int j = i + 1; j < 5; j++) {
				if (abcde[j] - abcde[i] <= k) {
					cnt++;
				}
			}
		}

		if (cnt < 10) {
			pr.println(":(");
		} else {
			pr.println("Yay!");
		}
	} solve {
		int[] abcde = new int[5];
		for (int i = 0; i < 5; i++) {
			abcde[i] = sc.nextInt();
		}
		int k = sc.nextInt();

		int cnt = 0;
		for (int i = 0; i < 5; i++) {
			for (int j = i + 1; j < 5; j++) {
				if (abcde[j] - abcde[i] <= k) {
					cnt++;
				}
			}
		}

		if (cnt < 10) {
			pr.println(":(");
		} else {
			pr.println("Yay!");
		}
	} int[] abcde = new int[5]; abcde new int[5] 5 for (int i = 0; i < 5; i++) {
			abcde[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
			abcde[i] = sc.nextInt();
		} {
			abcde[i] = sc.nextInt();
		} abcde[i] = sc.nextInt() abcde[i] abcde i sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc int cnt = 0; cnt 0 for (int i = 0; i < 5; i++) {
			for (int j = i + 1; j < 5; j++) {
				if (abcde[j] - abcde[i] <= k) {
					cnt++;
				}
			}
		} int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
			for (int j = i + 1; j < 5; j++) {
				if (abcde[j] - abcde[i] <= k) {
					cnt++;
				}
			}
		} {
			for (int j = i + 1; j < 5; j++) {
				if (abcde[j] - abcde[i] <= k) {
					cnt++;
				}
			}
		} for (int j = i + 1; j < 5; j++) {
				if (abcde[j] - abcde[i] <= k) {
					cnt++;
				}
			} int j = i + 1; int j = i + 1; j i + 1 i 1 j < 5 j 5 j++ j++ j {
				if (abcde[j] - abcde[i] <= k) {
					cnt++;
				}
			} {
				if (abcde[j] - abcde[i] <= k) {
					cnt++;
				}
			} if (abcde[j] - abcde[i] <= k) {
					cnt++;
				} abcde[j] - abcde[i] <= k abcde[j] - abcde[i] abcde[j] abcde j abcde[i] abcde i k {
					cnt++;
				} cnt++ cnt if (cnt < 10) {
			pr.println(":(");
		} else {
			pr.println("Yay!");
		} cnt < 10 cnt 10 {
			pr.println(":(");
		} pr.println(":(") pr.println pr ":(" {
			pr.println("Yay!");
		} pr.println("Yay!") pr.println pr "Yay!" // ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		pr = new Printer(System.out);
			
		solve();
			
		pr.close();
		sc.close();
	} main {
		sc = new Scanner(System.in);
		pr = new Printer(System.out);
			
		solve();
			
		pr.close();
		sc.close();
	} sc = new Scanner(System.in) sc new Scanner(System.in) pr = new Printer(System.out) pr new Printer(System.out) solve() solve pr.close() pr.close pr sc.close() sc.close sc String[] args args static class Printer extends PrintWriter {
		Printer(OutputStream out) {
			super(out);
		}
	} Printer Printer(OutputStream out) {
			super(out);
		} Printer {
			super(out);
		} super(out) super out OutputStream out out PrintWriter public class Main {

	private static Scanner sc;
	private static Printer pr;

	private static void solve() {
		int[] abcde = new int[5];
		for (int i = 0; i < 5; i++) {
			abcde[i] = sc.nextInt();
		}
		int k = sc.nextInt();

		int cnt = 0;
		for (int i = 0; i < 5; i++) {
			for (int j = i + 1; j < 5; j++) {
				if (abcde[j] - abcde[i] <= k) {
					cnt++;
				}
			}
		}

		if (cnt < 10) {
			pr.println(":(");
		} else {
			pr.println("Yay!");
		}
	}

	// ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		pr = new Printer(System.out);
			
		solve();
			
		pr.close();
		sc.close();
	}

	static class Printer extends PrintWriter {
		Printer(OutputStream out) {
			super(out);
		}
	}
} public class Main {

	private static Scanner sc;
	private static Printer pr;

	private static void solve() {
		int[] abcde = new int[5];
		for (int i = 0; i < 5; i++) {
			abcde[i] = sc.nextInt();
		}
		int k = sc.nextInt();

		int cnt = 0;
		for (int i = 0; i < 5; i++) {
			for (int j = i + 1; j < 5; j++) {
				if (abcde[j] - abcde[i] <= k) {
					cnt++;
				}
			}
		}

		if (cnt < 10) {
			pr.println(":(");
		} else {
			pr.println("Yay!");
		}
	}

	// ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		pr = new Printer(System.out);
			
		solve();
			
		pr.close();
		sc.close();
	}

	static class Printer extends PrintWriter {
		Printer(OutputStream out) {
			super(out);
		}
	}
} Main
import java.io.*;
import java.util.Scanner;


public class Main {

	private static Scanner sc;
	private static Printer pr;

	private static void solve() {
		int[] abcde = new int[5];
		for (int i = 0; i < 5; i++) {
			abcde[i] = sc.nextInt();
		}
		int k = sc.nextInt();

		int cnt = 0;
		for (int i = 0; i < 5; i++) {
			for (int j = i + 1; j < 5; j++) {
				if (abcde[j] - abcde[i] <= k) {
					cnt++;
				}
			}
		}

		if (cnt < 10) {
			pr.println(":(");
		} else {
			pr.println("Yay!");
		}
	}

	// ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		pr = new Printer(System.out);
			
		solve();
			
		pr.close();
		sc.close();
	}

	static class Printer extends PrintWriter {
		Printer(OutputStream out) {
			super(out);
		}
	}
}
