import java.util.*;

public class Main {

	public static void main(String[] args) {
		try(Scanner scan = new Scanner(System.in);){
			List<Integer> list = new ArrayList<Integer>();
			for(int i=0;i<5; i++) {
				list.add(Integer.parseInt(scan.next()));
			}
			int k = Integer.parseInt(scan.next());
			List<Integer> revList = new ArrayList<Integer>(list);
			for(Integer num:list) {
				for(Integer rev: revList) {
					if(rev - num > k) {
                      	System.out.println(":(");
						System.exit(0);
					}
				}
			}
          	System.out.println("Yay!");	
		}
	}
} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		try(Scanner scan = new Scanner(System.in);){
			List<Integer> list = new ArrayList<Integer>();
			for(int i=0;i<5; i++) {
				list.add(Integer.parseInt(scan.next()));
			}
			int k = Integer.parseInt(scan.next());
			List<Integer> revList = new ArrayList<Integer>(list);
			for(Integer num:list) {
				for(Integer rev: revList) {
					if(rev - num > k) {
                      	System.out.println(":(");
						System.exit(0);
					}
				}
			}
          	System.out.println("Yay!");	
		}
	}
} Main public static void main(String[] args) {
		try(Scanner scan = new Scanner(System.in);){
			List<Integer> list = new ArrayList<Integer>();
			for(int i=0;i<5; i++) {
				list.add(Integer.parseInt(scan.next()));
			}
			int k = Integer.parseInt(scan.next());
			List<Integer> revList = new ArrayList<Integer>(list);
			for(Integer num:list) {
				for(Integer rev: revList) {
					if(rev - num > k) {
                      	System.out.println(":(");
						System.exit(0);
					}
				}
			}
          	System.out.println("Yay!");	
		}
	} main {
		try(Scanner scan = new Scanner(System.in);){
			List<Integer> list = new ArrayList<Integer>();
			for(int i=0;i<5; i++) {
				list.add(Integer.parseInt(scan.next()));
			}
			int k = Integer.parseInt(scan.next());
			List<Integer> revList = new ArrayList<Integer>(list);
			for(Integer num:list) {
				for(Integer rev: revList) {
					if(rev - num > k) {
                      	System.out.println(":(");
						System.exit(0);
					}
				}
			}
          	System.out.println("Yay!");	
		}
	} try(Scanner scan = new Scanner(System.in);){
			List<Integer> list = new ArrayList<Integer>();
			for(int i=0;i<5; i++) {
				list.add(Integer.parseInt(scan.next()));
			}
			int k = Integer.parseInt(scan.next());
			List<Integer> revList = new ArrayList<Integer>(list);
			for(Integer num:list) {
				for(Integer rev: revList) {
					if(rev - num > k) {
                      	System.out.println(":(");
						System.exit(0);
					}
				}
			}
          	System.out.println("Yay!");	
		} {
			List<Integer> list = new ArrayList<Integer>();
			for(int i=0;i<5; i++) {
				list.add(Integer.parseInt(scan.next()));
			}
			int k = Integer.parseInt(scan.next());
			List<Integer> revList = new ArrayList<Integer>(list);
			for(Integer num:list) {
				for(Integer rev: revList) {
					if(rev - num > k) {
                      	System.out.println(":(");
						System.exit(0);
					}
				}
			}
          	System.out.println("Yay!");	
		} Scanner scan = new Scanner(System.in) Scanner scan = new Scanner(System.in) new Scanner(System.in) List<Integer> list = new ArrayList<Integer>(); list new ArrayList<Integer>() for(int i=0;i<5; i++) {
				list.add(Integer.parseInt(scan.next()));
			} int i=0; int i=0; i 0 i<5 i 5 i++ i++ i {
				list.add(Integer.parseInt(scan.next()));
			} {
				list.add(Integer.parseInt(scan.next()));
			} list.add(Integer.parseInt(scan.next())) list.add list Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan int k = Integer.parseInt(scan.next()); k Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan List<Integer> revList = new ArrayList<Integer>(list); revList new ArrayList<Integer>(list) for(Integer num:list) {
				for(Integer rev: revList) {
					if(rev - num > k) {
                      	System.out.println(":(");
						System.exit(0);
					}
				}
			} Integer num list {
				for(Integer rev: revList) {
					if(rev - num > k) {
                      	System.out.println(":(");
						System.exit(0);
					}
				}
			} {
				for(Integer rev: revList) {
					if(rev - num > k) {
                      	System.out.println(":(");
						System.exit(0);
					}
				}
			} for(Integer rev: revList) {
					if(rev - num > k) {
                      	System.out.println(":(");
						System.exit(0);
					}
				} Integer rev revList {
					if(rev - num > k) {
                      	System.out.println(":(");
						System.exit(0);
					}
				} {
					if(rev - num > k) {
                      	System.out.println(":(");
						System.exit(0);
					}
				} if(rev - num > k) {
                      	System.out.println(":(");
						System.exit(0);
					} rev - num > k rev - num rev num k {
                      	System.out.println(":(");
						System.exit(0);
					} System.out.println(":(") System.out.println System.out System System.out ":(" System.exit(0) System.exit System 0 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) {
		try(Scanner scan = new Scanner(System.in);){
			List<Integer> list = new ArrayList<Integer>();
			for(int i=0;i<5; i++) {
				list.add(Integer.parseInt(scan.next()));
			}
			int k = Integer.parseInt(scan.next());
			List<Integer> revList = new ArrayList<Integer>(list);
			for(Integer num:list) {
				for(Integer rev: revList) {
					if(rev - num > k) {
                      	System.out.println(":(");
						System.exit(0);
					}
				}
			}
          	System.out.println("Yay!");	
		}
	}
} public class Main {

	public static void main(String[] args) {
		try(Scanner scan = new Scanner(System.in);){
			List<Integer> list = new ArrayList<Integer>();
			for(int i=0;i<5; i++) {
				list.add(Integer.parseInt(scan.next()));
			}
			int k = Integer.parseInt(scan.next());
			List<Integer> revList = new ArrayList<Integer>(list);
			for(Integer num:list) {
				for(Integer rev: revList) {
					if(rev - num > k) {
                      	System.out.println(":(");
						System.exit(0);
					}
				}
			}
          	System.out.println("Yay!");	
		}
	}
} Main
import java.util.*;

public class Main {

	public static void main(String[] args) {
		try(Scanner scan = new Scanner(System.in);){
			List<Integer> list = new ArrayList<Integer>();
			for(int i=0;i<5; i++) {
				list.add(Integer.parseInt(scan.next()));
			}
			int k = Integer.parseInt(scan.next());
			List<Integer> revList = new ArrayList<Integer>(list);
			for(Integer num:list) {
				for(Integer rev: revList) {
					if(rev - num > k) {
                      	System.out.println(":(");
						System.exit(0);
					}
				}
			}
          	System.out.println("Yay!");	
		}
	}
}