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

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		List<Integer> list = new ArrayList<>();
		for(int i = 0; i < 5; i++) {
			list.add(sc.nextInt());
		}
		
        int k = sc.nextInt();
        
        boolean check = false;
                
        for(int i = 0; i < 5; i++) {
        	for(int j = 0; j < 5; j++) {
        		if(Math.abs(list.get(i) - list.get(j)) <= k) {
        			check = true;
        		} else {
        			check = false;
        			break;
        		}
        	}
        }
        
        if(check) {
        	System.out.print("Yay!");
        } else {
        	System.out.print(":(");        	
        }
	}	
} 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) {
		Scanner sc = new Scanner(System.in);
		
		List<Integer> list = new ArrayList<>();
		for(int i = 0; i < 5; i++) {
			list.add(sc.nextInt());
		}
		
        int k = sc.nextInt();
        
        boolean check = false;
                
        for(int i = 0; i < 5; i++) {
        	for(int j = 0; j < 5; j++) {
        		if(Math.abs(list.get(i) - list.get(j)) <= k) {
        			check = true;
        		} else {
        			check = false;
        			break;
        		}
        	}
        }
        
        if(check) {
        	System.out.print("Yay!");
        } else {
        	System.out.print(":(");        	
        }
	}	
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		List<Integer> list = new ArrayList<>();
		for(int i = 0; i < 5; i++) {
			list.add(sc.nextInt());
		}
		
        int k = sc.nextInt();
        
        boolean check = false;
                
        for(int i = 0; i < 5; i++) {
        	for(int j = 0; j < 5; j++) {
        		if(Math.abs(list.get(i) - list.get(j)) <= k) {
        			check = true;
        		} else {
        			check = false;
        			break;
        		}
        	}
        }
        
        if(check) {
        	System.out.print("Yay!");
        } else {
        	System.out.print(":(");        	
        }
	} main {
		Scanner sc = new Scanner(System.in);
		
		List<Integer> list = new ArrayList<>();
		for(int i = 0; i < 5; i++) {
			list.add(sc.nextInt());
		}
		
        int k = sc.nextInt();
        
        boolean check = false;
                
        for(int i = 0; i < 5; i++) {
        	for(int j = 0; j < 5; j++) {
        		if(Math.abs(list.get(i) - list.get(j)) <= k) {
        			check = true;
        		} else {
        			check = false;
        			break;
        		}
        	}
        }
        
        if(check) {
        	System.out.print("Yay!");
        } else {
        	System.out.print(":(");        	
        }
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) List<Integer> list = new ArrayList<>(); list new ArrayList<>() for(int i = 0; i < 5; i++) {
			list.add(sc.nextInt());
		} int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
			list.add(sc.nextInt());
		} {
			list.add(sc.nextInt());
		} list.add(sc.nextInt()) list.add list sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc boolean check = false; check false for(int i = 0; i < 5; i++) {
        	for(int j = 0; j < 5; j++) {
        		if(Math.abs(list.get(i) - list.get(j)) <= k) {
        			check = true;
        		} else {
        			check = false;
        			break;
        		}
        	}
        } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
        	for(int j = 0; j < 5; j++) {
        		if(Math.abs(list.get(i) - list.get(j)) <= k) {
        			check = true;
        		} else {
        			check = false;
        			break;
        		}
        	}
        } {
        	for(int j = 0; j < 5; j++) {
        		if(Math.abs(list.get(i) - list.get(j)) <= k) {
        			check = true;
        		} else {
        			check = false;
        			break;
        		}
        	}
        } for(int j = 0; j < 5; j++) {
        		if(Math.abs(list.get(i) - list.get(j)) <= k) {
        			check = true;
        		} else {
        			check = false;
        			break;
        		}
        	} int j = 0; int j = 0; j 0 j < 5 j 5 j++ j++ j {
        		if(Math.abs(list.get(i) - list.get(j)) <= k) {
        			check = true;
        		} else {
        			check = false;
        			break;
        		}
        	} {
        		if(Math.abs(list.get(i) - list.get(j)) <= k) {
        			check = true;
        		} else {
        			check = false;
        			break;
        		}
        	} if(Math.abs(list.get(i) - list.get(j)) <= k) {
        			check = true;
        		} else {
        			check = false;
        			break;
        		} Math.abs(list.get(i) - list.get(j)) <= k Math.abs(list.get(i) - list.get(j)) Math.abs Math list.get(i) - list.get(j) list.get(i) list.get list i list.get(j) list.get list j k {
        			check = true;
        		} check = true check true {
        			check = false;
        			break;
        		} check = false check false break; if(check) {
        	System.out.print("Yay!");
        } else {
        	System.out.print(":(");        	
        } check {
        	System.out.print("Yay!");
        } System.out.print("Yay!") System.out.print System.out System System.out "Yay!" {
        	System.out.print(":(");        	
        } System.out.print(":(") System.out.print System.out System System.out ":(" String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		List<Integer> list = new ArrayList<>();
		for(int i = 0; i < 5; i++) {
			list.add(sc.nextInt());
		}
		
        int k = sc.nextInt();
        
        boolean check = false;
                
        for(int i = 0; i < 5; i++) {
        	for(int j = 0; j < 5; j++) {
        		if(Math.abs(list.get(i) - list.get(j)) <= k) {
        			check = true;
        		} else {
        			check = false;
        			break;
        		}
        	}
        }
        
        if(check) {
        	System.out.print("Yay!");
        } else {
        	System.out.print(":(");        	
        }
	}	
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		List<Integer> list = new ArrayList<>();
		for(int i = 0; i < 5; i++) {
			list.add(sc.nextInt());
		}
		
        int k = sc.nextInt();
        
        boolean check = false;
                
        for(int i = 0; i < 5; i++) {
        	for(int j = 0; j < 5; j++) {
        		if(Math.abs(list.get(i) - list.get(j)) <= k) {
        			check = true;
        		} else {
        			check = false;
        			break;
        		}
        	}
        }
        
        if(check) {
        	System.out.print("Yay!");
        } else {
        	System.out.print(":(");        	
        }
	}	
} Main
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		List<Integer> list = new ArrayList<>();
		for(int i = 0; i < 5; i++) {
			list.add(sc.nextInt());
		}
		
        int k = sc.nextInt();
        
        boolean check = false;
                
        for(int i = 0; i < 5; i++) {
        	for(int j = 0; j < 5; j++) {
        		if(Math.abs(list.get(i) - list.get(j)) <= k) {
        			check = true;
        		} else {
        			check = false;
        			break;
        		}
        	}
        }
        
        if(check) {
        	System.out.print("Yay!");
        } else {
        	System.out.print(":(");        	
        }
	}	
}