import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int max = 0;
    int min = 123;
    int input;
    for(int i = 0; i < 5; i++){
      input = sc.nextInt();
      max = Math.max(max,input);
      min = Math.min(min,input);
    }
    int k = sc.nextInt();
    if(k >= max - min){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  }
} import java.util.Scanner; Scanner java.util class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int max = 0;
    int min = 123;
    int input;
    for(int i = 0; i < 5; i++){
      input = sc.nextInt();
      max = Math.max(max,input);
      min = Math.min(min,input);
    }
    int k = sc.nextInt();
    if(k >= max - min){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int max = 0;
    int min = 123;
    int input;
    for(int i = 0; i < 5; i++){
      input = sc.nextInt();
      max = Math.max(max,input);
      min = Math.min(min,input);
    }
    int k = sc.nextInt();
    if(k >= max - min){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  } main {
    Scanner sc = new Scanner(System.in);
    int max = 0;
    int min = 123;
    int input;
    for(int i = 0; i < 5; i++){
      input = sc.nextInt();
      max = Math.max(max,input);
      min = Math.min(min,input);
    }
    int k = sc.nextInt();
    if(k >= max - min){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int max = 0; max 0 int min = 123; min 123 int input; input for(int i = 0; i < 5; i++){
      input = sc.nextInt();
      max = Math.max(max,input);
      min = Math.min(min,input);
    } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
      input = sc.nextInt();
      max = Math.max(max,input);
      min = Math.min(min,input);
    } {
      input = sc.nextInt();
      max = Math.max(max,input);
      min = Math.min(min,input);
    } input = sc.nextInt() input sc.nextInt() sc.nextInt sc max = Math.max(max,input) max Math.max(max,input) Math.max Math max input min = Math.min(min,input) min Math.min(min,input) Math.min Math min input int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc if(k >= max - min){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    } k >= max - min k max - min max min {
      System.out.println("Yay!");
    } System.out.println("Yay!") System.out.println System.out System System.out "Yay!" {
      System.out.println(":(");
    } System.out.println(":(") System.out.println System.out System System.out ":(" String[] args args
import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int max = 0;
    int min = 123;
    int input;
    for(int i = 0; i < 5; i++){
      input = sc.nextInt();
      max = Math.max(max,input);
      min = Math.min(min,input);
    }
    int k = sc.nextInt();
    if(k >= max - min){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  }
}