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

public class Main{
 public static void main(String[] args){
   Scanner s = new Scanner(System.in);
   int[] arr = new int[5];
   for(int i=0; i<5; i++){
   arr[i] = s.nextInt();
   }
   
   int maxd = s.nextInt();
   String status ="Yay!";
   
   outerloop:
   for(int j=0; j<4; j++){
   for(int l=j+1; l<5; l++){
   if(arr[l]-arr[j] > maxd){
   status =":(";
     break outerloop;
   }
   }
   }
   System.out.print(status);
 }
} import java.util.*; util.* java import java.io.*; io.* java public class Main{
 public static void main(String[] args){
   Scanner s = new Scanner(System.in);
   int[] arr = new int[5];
   for(int i=0; i<5; i++){
   arr[i] = s.nextInt();
   }
   
   int maxd = s.nextInt();
   String status ="Yay!";
   
   outerloop:
   for(int j=0; j<4; j++){
   for(int l=j+1; l<5; l++){
   if(arr[l]-arr[j] > maxd){
   status =":(";
     break outerloop;
   }
   }
   }
   System.out.print(status);
 }
} Main public static void main(String[] args){
   Scanner s = new Scanner(System.in);
   int[] arr = new int[5];
   for(int i=0; i<5; i++){
   arr[i] = s.nextInt();
   }
   
   int maxd = s.nextInt();
   String status ="Yay!";
   
   outerloop:
   for(int j=0; j<4; j++){
   for(int l=j+1; l<5; l++){
   if(arr[l]-arr[j] > maxd){
   status =":(";
     break outerloop;
   }
   }
   }
   System.out.print(status);
 } main {
   Scanner s = new Scanner(System.in);
   int[] arr = new int[5];
   for(int i=0; i<5; i++){
   arr[i] = s.nextInt();
   }
   
   int maxd = s.nextInt();
   String status ="Yay!";
   
   outerloop:
   for(int j=0; j<4; j++){
   for(int l=j+1; l<5; l++){
   if(arr[l]-arr[j] > maxd){
   status =":(";
     break outerloop;
   }
   }
   }
   System.out.print(status);
 } Scanner s = new Scanner(System.in); s new Scanner(System.in) int[] arr = new int[5]; arr new int[5] 5 for(int i=0; i<5; i++){
   arr[i] = s.nextInt();
   } int i=0; int i=0; i 0 i<5 i 5 i++ i++ i {
   arr[i] = s.nextInt();
   } {
   arr[i] = s.nextInt();
   } arr[i] = s.nextInt() arr[i] arr i s.nextInt() s.nextInt s int maxd = s.nextInt(); maxd s.nextInt() s.nextInt s String status ="Yay!"; status "Yay!" System.out.print(status) System.out.print System.out System System.out status String[] args args public class Main{
 public static void main(String[] args){
   Scanner s = new Scanner(System.in);
   int[] arr = new int[5];
   for(int i=0; i<5; i++){
   arr[i] = s.nextInt();
   }
   
   int maxd = s.nextInt();
   String status ="Yay!";
   
   outerloop:
   for(int j=0; j<4; j++){
   for(int l=j+1; l<5; l++){
   if(arr[l]-arr[j] > maxd){
   status =":(";
     break outerloop;
   }
   }
   }
   System.out.print(status);
 }
} public class Main{
 public static void main(String[] args){
   Scanner s = new Scanner(System.in);
   int[] arr = new int[5];
   for(int i=0; i<5; i++){
   arr[i] = s.nextInt();
   }
   
   int maxd = s.nextInt();
   String status ="Yay!";
   
   outerloop:
   for(int j=0; j<4; j++){
   for(int l=j+1; l<5; l++){
   if(arr[l]-arr[j] > maxd){
   status =":(";
     break outerloop;
   }
   }
   }
   System.out.print(status);
 }
} Main
import java.util.*;
import java.io.*;

public class Main{
 public static void main(String[] args){
   Scanner s = new Scanner(System.in);
   int[] arr = new int[5];
   for(int i=0; i<5; i++){
   arr[i] = s.nextInt();
   }
   
   int maxd = s.nextInt();
   String status ="Yay!";
   
   outerloop:
   for(int j=0; j<4; j++){
   for(int l=j+1; l<5; l++){
   if(arr[l]-arr[j] > maxd){
   status =":(";
     break outerloop;
   }
   }
   }
   System.out.print(status);
 }
}