import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);
		int limit = 5;
		int [] list = new int [limit];

		for(int i = 0 ; i < limit ; ++i) {

			list[i] = Integer.parseInt(sc.next());

		};

		int k = Integer.parseInt(sc.next());

		if(list[list.length-1] - list[0] <= k) {
			System.out.println("Yay!");
		}else {
			System.out.println(":(");

		}

	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);
		int limit = 5;
		int [] list = new int [limit];

		for(int i = 0 ; i < limit ; ++i) {

			list[i] = Integer.parseInt(sc.next());

		};

		int k = Integer.parseInt(sc.next());

		if(list[list.length-1] - list[0] <= k) {
			System.out.println("Yay!");
		}else {
			System.out.println(":(");

		}

	}

} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);
		int limit = 5;
		int [] list = new int [limit];

		for(int i = 0 ; i < limit ; ++i) {

			list[i] = Integer.parseInt(sc.next());

		};

		int k = Integer.parseInt(sc.next());

		if(list[list.length-1] - list[0] <= k) {
			System.out.println("Yay!");
		}else {
			System.out.println(":(");

		}

	} main {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);
		int limit = 5;
		int [] list = new int [limit];

		for(int i = 0 ; i < limit ; ++i) {

			list[i] = Integer.parseInt(sc.next());

		};

		int k = Integer.parseInt(sc.next());

		if(list[list.length-1] - list[0] <= k) {
			System.out.println("Yay!");
		}else {
			System.out.println(":(");

		}

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int limit = 5; limit 5 int [] list = new int [limit]; list new int [limit] limit for(int i = 0 ; i < limit ; ++i) {

			list[i] = Integer.parseInt(sc.next());

		} int i = 0 ; int i = 0 ; i 0 i < limit i limit ++i ++i i {

			list[i] = Integer.parseInt(sc.next());

		} {

			list[i] = Integer.parseInt(sc.next());

		} list[i] = Integer.parseInt(sc.next()) list[i] list 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 if(list[list.length-1] - list[0] <= k) {
			System.out.println("Yay!");
		}else {
			System.out.println(":(");

		} list[list.length-1] - list[0] <= k list[list.length-1] - list[0] list[list.length-1] list list.length-1 list.length list list.length 1 list[0] list 0 k {
			System.out.println("Yay!");
		} System.out.println("Yay!") System.out.println System.out System System.out "Yay!" {
			System.out.println(":(");

		} System.out.println(":(") System.out.println System.out System System.out ":(" String[] args args public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);
		int limit = 5;
		int [] list = new int [limit];

		for(int i = 0 ; i < limit ; ++i) {

			list[i] = Integer.parseInt(sc.next());

		};

		int k = Integer.parseInt(sc.next());

		if(list[list.length-1] - list[0] <= k) {
			System.out.println("Yay!");
		}else {
			System.out.println(":(");

		}

	}

} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);
		int limit = 5;
		int [] list = new int [limit];

		for(int i = 0 ; i < limit ; ++i) {

			list[i] = Integer.parseInt(sc.next());

		};

		int k = Integer.parseInt(sc.next());

		if(list[list.length-1] - list[0] <= k) {
			System.out.println("Yay!");
		}else {
			System.out.println(":(");

		}

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);
		int limit = 5;
		int [] list = new int [limit];

		for(int i = 0 ; i < limit ; ++i) {

			list[i] = Integer.parseInt(sc.next());

		};

		int k = Integer.parseInt(sc.next());

		if(list[list.length-1] - list[0] <= k) {
			System.out.println("Yay!");
		}else {
			System.out.println(":(");

		}

	}

}
