import java.util.*;

public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    int[] Antennas= new int[5];
    boolean abc=false;
    for (int i = 0; i < 5; i++) {
      int Antenna=sc.nextInt();
      Antennas[i]=Antenna;
    }
    int Distanse=sc.nextInt();
   
    for(int i=0;i<4;i++){
      for(int j=1;j<5;j++){
        if(Math.abs(Antennas[i]-Antennas[j])>Distanse){
          abc=true;
        }
     }
  }
    if(abc==true){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
}
} import java.util.*; util.* java public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    int[] Antennas= new int[5];
    boolean abc=false;
    for (int i = 0; i < 5; i++) {
      int Antenna=sc.nextInt();
      Antennas[i]=Antenna;
    }
    int Distanse=sc.nextInt();
   
    for(int i=0;i<4;i++){
      for(int j=1;j<5;j++){
        if(Math.abs(Antennas[i]-Antennas[j])>Distanse){
          abc=true;
        }
     }
  }
    if(abc==true){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
}
} Main public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    int[] Antennas= new int[5];
    boolean abc=false;
    for (int i = 0; i < 5; i++) {
      int Antenna=sc.nextInt();
      Antennas[i]=Antenna;
    }
    int Distanse=sc.nextInt();
   
    for(int i=0;i<4;i++){
      for(int j=1;j<5;j++){
        if(Math.abs(Antennas[i]-Antennas[j])>Distanse){
          abc=true;
        }
     }
  }
    if(abc==true){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
} main {
    Scanner sc = new Scanner(System.in);
    int[] Antennas= new int[5];
    boolean abc=false;
    for (int i = 0; i < 5; i++) {
      int Antenna=sc.nextInt();
      Antennas[i]=Antenna;
    }
    int Distanse=sc.nextInt();
   
    for(int i=0;i<4;i++){
      for(int j=1;j<5;j++){
        if(Math.abs(Antennas[i]-Antennas[j])>Distanse){
          abc=true;
        }
     }
  }
    if(abc==true){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] Antennas= new int[5]; Antennas new int[5] 5 boolean abc=false; abc false for (int i = 0; i < 5; i++) {
      int Antenna=sc.nextInt();
      Antennas[i]=Antenna;
    } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
      int Antenna=sc.nextInt();
      Antennas[i]=Antenna;
    } {
      int Antenna=sc.nextInt();
      Antennas[i]=Antenna;
    } int Antenna=sc.nextInt(); Antenna sc.nextInt() sc.nextInt sc Antennas[i]=Antenna Antennas[i] Antennas i Antenna int Distanse=sc.nextInt(); Distanse sc.nextInt() sc.nextInt sc for(int i=0;i<4;i++){
      for(int j=1;j<5;j++){
        if(Math.abs(Antennas[i]-Antennas[j])>Distanse){
          abc=true;
        }
     }
  } int i=0; int i=0; i 0 i<4 i 4 i++ i++ i {
      for(int j=1;j<5;j++){
        if(Math.abs(Antennas[i]-Antennas[j])>Distanse){
          abc=true;
        }
     }
  } {
      for(int j=1;j<5;j++){
        if(Math.abs(Antennas[i]-Antennas[j])>Distanse){
          abc=true;
        }
     }
  } for(int j=1;j<5;j++){
        if(Math.abs(Antennas[i]-Antennas[j])>Distanse){
          abc=true;
        }
     } int j=1; int j=1; j 1 j<5 j 5 j++ j++ j {
        if(Math.abs(Antennas[i]-Antennas[j])>Distanse){
          abc=true;
        }
     } {
        if(Math.abs(Antennas[i]-Antennas[j])>Distanse){
          abc=true;
        }
     } if(Math.abs(Antennas[i]-Antennas[j])>Distanse){
          abc=true;
        } Math.abs(Antennas[i]-Antennas[j])>Distanse Math.abs(Antennas[i]-Antennas[j]) Math.abs Math Antennas[i]-Antennas[j] Antennas[i] Antennas i Antennas[j] Antennas j Distanse {
          abc=true;
        } abc=true abc true if(abc==true){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    } abc==true abc true {
      System.out.println(":(");
    } System.out.println(":(") System.out.println System.out System System.out ":(" {
      System.out.println("Yay!");
    } 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 ) throws Exception {
    Scanner sc = new Scanner(System.in);
    int[] Antennas= new int[5];
    boolean abc=false;
    for (int i = 0; i < 5; i++) {
      int Antenna=sc.nextInt();
      Antennas[i]=Antenna;
    }
    int Distanse=sc.nextInt();
   
    for(int i=0;i<4;i++){
      for(int j=1;j<5;j++){
        if(Math.abs(Antennas[i]-Antennas[j])>Distanse){
          abc=true;
        }
     }
  }
    if(abc==true){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
}
} public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    int[] Antennas= new int[5];
    boolean abc=false;
    for (int i = 0; i < 5; i++) {
      int Antenna=sc.nextInt();
      Antennas[i]=Antenna;
    }
    int Distanse=sc.nextInt();
   
    for(int i=0;i<4;i++){
      for(int j=1;j<5;j++){
        if(Math.abs(Antennas[i]-Antennas[j])>Distanse){
          abc=true;
        }
     }
  }
    if(abc==true){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
}
} Main
import java.util.*;

public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    int[] Antennas= new int[5];
    boolean abc=false;
    for (int i = 0; i < 5; i++) {
      int Antenna=sc.nextInt();
      Antennas[i]=Antenna;
    }
    int Distanse=sc.nextInt();
   
    for(int i=0;i<4;i++){
      for(int j=1;j<5;j++){
        if(Math.abs(Antennas[i]-Antennas[j])>Distanse){
          abc=true;
        }
     }
  }
    if(abc==true){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
}
}