import java.util.*;
class Main{
  public static void main(String[] args){
    Scanner scan=new Scanner(System.in);
    Integer[] antennas=new Integer[5];
    for(int i=0;i<5;i++){
      antennas[i]=scan.nextInt();
    }
    Arrays.sort(antennas,Collections.reverseOrder());
    int k=scan.nextInt();
    for(int i=0;i<5;i++){
      for(int j=i+1;j<5;j++){
        if(antennas[i]-antennas[j]>k){
          System.out.println(":(");
          System.exit(0);
        }
      }      
    }
    System.out.println("Yay!");
  }
} import java.util.*; util.* java class Main{
  public static void main(String[] args){
    Scanner scan=new Scanner(System.in);
    Integer[] antennas=new Integer[5];
    for(int i=0;i<5;i++){
      antennas[i]=scan.nextInt();
    }
    Arrays.sort(antennas,Collections.reverseOrder());
    int k=scan.nextInt();
    for(int i=0;i<5;i++){
      for(int j=i+1;j<5;j++){
        if(antennas[i]-antennas[j]>k){
          System.out.println(":(");
          System.exit(0);
        }
      }      
    }
    System.out.println("Yay!");
  }
} Main public static void main(String[] args){
    Scanner scan=new Scanner(System.in);
    Integer[] antennas=new Integer[5];
    for(int i=0;i<5;i++){
      antennas[i]=scan.nextInt();
    }
    Arrays.sort(antennas,Collections.reverseOrder());
    int k=scan.nextInt();
    for(int i=0;i<5;i++){
      for(int j=i+1;j<5;j++){
        if(antennas[i]-antennas[j]>k){
          System.out.println(":(");
          System.exit(0);
        }
      }      
    }
    System.out.println("Yay!");
  } main {
    Scanner scan=new Scanner(System.in);
    Integer[] antennas=new Integer[5];
    for(int i=0;i<5;i++){
      antennas[i]=scan.nextInt();
    }
    Arrays.sort(antennas,Collections.reverseOrder());
    int k=scan.nextInt();
    for(int i=0;i<5;i++){
      for(int j=i+1;j<5;j++){
        if(antennas[i]-antennas[j]>k){
          System.out.println(":(");
          System.exit(0);
        }
      }      
    }
    System.out.println("Yay!");
  } Scanner scan=new Scanner(System.in); scan new Scanner(System.in) Integer[] antennas=new Integer[5]; antennas new Integer[5] 5 for(int i=0;i<5;i++){
      antennas[i]=scan.nextInt();
    } int i=0; int i=0; i 0 i<5 i 5 i++ i++ i {
      antennas[i]=scan.nextInt();
    } {
      antennas[i]=scan.nextInt();
    } antennas[i]=scan.nextInt() antennas[i] antennas i scan.nextInt() scan.nextInt scan Arrays.sort(antennas,Collections.reverseOrder()) Arrays.sort Arrays antennas Collections.reverseOrder() Collections.reverseOrder Collections int k=scan.nextInt(); k scan.nextInt() scan.nextInt scan for(int i=0;i<5;i++){
      for(int j=i+1;j<5;j++){
        if(antennas[i]-antennas[j]>k){
          System.out.println(":(");
          System.exit(0);
        }
      }      
    } int i=0; int i=0; i 0 i<5 i 5 i++ i++ i {
      for(int j=i+1;j<5;j++){
        if(antennas[i]-antennas[j]>k){
          System.out.println(":(");
          System.exit(0);
        }
      }      
    } {
      for(int j=i+1;j<5;j++){
        if(antennas[i]-antennas[j]>k){
          System.out.println(":(");
          System.exit(0);
        }
      }      
    } for(int j=i+1;j<5;j++){
        if(antennas[i]-antennas[j]>k){
          System.out.println(":(");
          System.exit(0);
        }
      } int j=i+1; int j=i+1; j i+1 i 1 j<5 j 5 j++ j++ j {
        if(antennas[i]-antennas[j]>k){
          System.out.println(":(");
          System.exit(0);
        }
      } {
        if(antennas[i]-antennas[j]>k){
          System.out.println(":(");
          System.exit(0);
        }
      } if(antennas[i]-antennas[j]>k){
          System.out.println(":(");
          System.exit(0);
        } antennas[i]-antennas[j]>k antennas[i]-antennas[j] antennas[i] antennas i antennas[j] antennas j 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
import java.util.*;
class Main{
  public static void main(String[] args){
    Scanner scan=new Scanner(System.in);
    Integer[] antennas=new Integer[5];
    for(int i=0;i<5;i++){
      antennas[i]=scan.nextInt();
    }
    Arrays.sort(antennas,Collections.reverseOrder());
    int k=scan.nextInt();
    for(int i=0;i<5;i++){
      for(int j=i+1;j<5;j++){
        if(antennas[i]-antennas[j]>k){
          System.out.println(":(");
          System.exit(0);
        }
      }      
    }
    System.out.println("Yay!");
  }
}