import java.util.Scanner;
public class Main{
 public static void main(String[] Args){
   Scanner sc = new Scanner(System.in);
   int[] ant = new int[6]; 
   for(int i = 0;i<6;i++){
     ant[i] = Integer.parseInt(sc.next());
   }
   int result = 0;
   boolean hantei = false;
   for(int i = 0;i<5;i++){
     if(hantei){
       break;
     }
     for(int j = 0;j<i;j++){
       result = ant[i]-ant[j];
       if(result>ant[5]){
         hantei = true;
         break;
       }
     }
   }
   if(hantei){
     System.out.print(":(");
   }else{
     System.out.print("Yay!");
   }
 }
} import java.util.Scanner; Scanner java.util public class Main{
 public static void main(String[] Args){
   Scanner sc = new Scanner(System.in);
   int[] ant = new int[6]; 
   for(int i = 0;i<6;i++){
     ant[i] = Integer.parseInt(sc.next());
   }
   int result = 0;
   boolean hantei = false;
   for(int i = 0;i<5;i++){
     if(hantei){
       break;
     }
     for(int j = 0;j<i;j++){
       result = ant[i]-ant[j];
       if(result>ant[5]){
         hantei = true;
         break;
       }
     }
   }
   if(hantei){
     System.out.print(":(");
   }else{
     System.out.print("Yay!");
   }
 }
} Main public static void main(String[] Args){
   Scanner sc = new Scanner(System.in);
   int[] ant = new int[6]; 
   for(int i = 0;i<6;i++){
     ant[i] = Integer.parseInt(sc.next());
   }
   int result = 0;
   boolean hantei = false;
   for(int i = 0;i<5;i++){
     if(hantei){
       break;
     }
     for(int j = 0;j<i;j++){
       result = ant[i]-ant[j];
       if(result>ant[5]){
         hantei = true;
         break;
       }
     }
   }
   if(hantei){
     System.out.print(":(");
   }else{
     System.out.print("Yay!");
   }
 } main {
   Scanner sc = new Scanner(System.in);
   int[] ant = new int[6]; 
   for(int i = 0;i<6;i++){
     ant[i] = Integer.parseInt(sc.next());
   }
   int result = 0;
   boolean hantei = false;
   for(int i = 0;i<5;i++){
     if(hantei){
       break;
     }
     for(int j = 0;j<i;j++){
       result = ant[i]-ant[j];
       if(result>ant[5]){
         hantei = true;
         break;
       }
     }
   }
   if(hantei){
     System.out.print(":(");
   }else{
     System.out.print("Yay!");
   }
 } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] ant = new int[6]; ant new int[6] 6 for(int i = 0;i<6;i++){
     ant[i] = Integer.parseInt(sc.next());
   } int i = 0; int i = 0; i 0 i<6 i 6 i++ i++ i {
     ant[i] = Integer.parseInt(sc.next());
   } {
     ant[i] = Integer.parseInt(sc.next());
   } ant[i] = Integer.parseInt(sc.next()) ant[i] ant i Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int result = 0; result 0 boolean hantei = false; hantei false for(int i = 0;i<5;i++){
     if(hantei){
       break;
     }
     for(int j = 0;j<i;j++){
       result = ant[i]-ant[j];
       if(result>ant[5]){
         hantei = true;
         break;
       }
     }
   } int i = 0; int i = 0; i 0 i<5 i 5 i++ i++ i {
     if(hantei){
       break;
     }
     for(int j = 0;j<i;j++){
       result = ant[i]-ant[j];
       if(result>ant[5]){
         hantei = true;
         break;
       }
     }
   } {
     if(hantei){
       break;
     }
     for(int j = 0;j<i;j++){
       result = ant[i]-ant[j];
       if(result>ant[5]){
         hantei = true;
         break;
       }
     }
   } if(hantei){
       break;
     } hantei {
       break;
     } break; for(int j = 0;j<i;j++){
       result = ant[i]-ant[j];
       if(result>ant[5]){
         hantei = true;
         break;
       }
     } int j = 0; int j = 0; j 0 j<i j i j++ j++ j {
       result = ant[i]-ant[j];
       if(result>ant[5]){
         hantei = true;
         break;
       }
     } {
       result = ant[i]-ant[j];
       if(result>ant[5]){
         hantei = true;
         break;
       }
     } result = ant[i]-ant[j] result ant[i]-ant[j] ant[i] ant i ant[j] ant j if(result>ant[5]){
         hantei = true;
         break;
       } result>ant[5] result ant[5] ant 5 {
         hantei = true;
         break;
       } hantei = true hantei true break; if(hantei){
     System.out.print(":(");
   }else{
     System.out.print("Yay!");
   } hantei {
     System.out.print(":(");
   } System.out.print(":(") System.out.print System.out System System.out ":(" {
     System.out.print("Yay!");
   } System.out.print("Yay!") System.out.print System.out System System.out "Yay!" String[] Args Args public class Main{
 public static void main(String[] Args){
   Scanner sc = new Scanner(System.in);
   int[] ant = new int[6]; 
   for(int i = 0;i<6;i++){
     ant[i] = Integer.parseInt(sc.next());
   }
   int result = 0;
   boolean hantei = false;
   for(int i = 0;i<5;i++){
     if(hantei){
       break;
     }
     for(int j = 0;j<i;j++){
       result = ant[i]-ant[j];
       if(result>ant[5]){
         hantei = true;
         break;
       }
     }
   }
   if(hantei){
     System.out.print(":(");
   }else{
     System.out.print("Yay!");
   }
 }
} public class Main{
 public static void main(String[] Args){
   Scanner sc = new Scanner(System.in);
   int[] ant = new int[6]; 
   for(int i = 0;i<6;i++){
     ant[i] = Integer.parseInt(sc.next());
   }
   int result = 0;
   boolean hantei = false;
   for(int i = 0;i<5;i++){
     if(hantei){
       break;
     }
     for(int j = 0;j<i;j++){
       result = ant[i]-ant[j];
       if(result>ant[5]){
         hantei = true;
         break;
       }
     }
   }
   if(hantei){
     System.out.print(":(");
   }else{
     System.out.print("Yay!");
   }
 }
} Main
import java.util.Scanner;
public class Main{
 public static void main(String[] Args){
   Scanner sc = new Scanner(System.in);
   int[] ant = new int[6]; 
   for(int i = 0;i<6;i++){
     ant[i] = Integer.parseInt(sc.next());
   }
   int result = 0;
   boolean hantei = false;
   for(int i = 0;i<5;i++){
     if(hantei){
       break;
     }
     for(int j = 0;j<i;j++){
       result = ant[i]-ant[j];
       if(result>ant[5]){
         hantei = true;
         break;
       }
     }
   }
   if(hantei){
     System.out.print(":(");
   }else{
     System.out.print("Yay!");
   }
 }
}