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

public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    int[] antenna = new int[5];
    for (int i = 0; i < 5; i++){
      antenna[i] = Integer.parseInt(br.readLine());
    }
    int k = Integer.parseInt(br.readLine());
    Arrays.sort(antenna);
    String result = "Yay!";
    if (antenna[4] - antenna[0] > k){
      result = ":(";
    }
    System.out.println(result);
  }
} import java.io.*; io.* java import java.util.Arrays; Arrays java.util public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    int[] antenna = new int[5];
    for (int i = 0; i < 5; i++){
      antenna[i] = Integer.parseInt(br.readLine());
    }
    int k = Integer.parseInt(br.readLine());
    Arrays.sort(antenna);
    String result = "Yay!";
    if (antenna[4] - antenna[0] > k){
      result = ":(";
    }
    System.out.println(result);
  }
} Main public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    int[] antenna = new int[5];
    for (int i = 0; i < 5; i++){
      antenna[i] = Integer.parseInt(br.readLine());
    }
    int k = Integer.parseInt(br.readLine());
    Arrays.sort(antenna);
    String result = "Yay!";
    if (antenna[4] - antenna[0] > k){
      result = ":(";
    }
    System.out.println(result);
  } main {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    int[] antenna = new int[5];
    for (int i = 0; i < 5; i++){
      antenna[i] = Integer.parseInt(br.readLine());
    }
    int k = Integer.parseInt(br.readLine());
    Arrays.sort(antenna);
    String result = "Yay!";
    if (antenna[4] - antenna[0] > k){
      result = ":(";
    }
    System.out.println(result);
  } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int[] antenna = new int[5]; antenna new int[5] 5 for (int i = 0; i < 5; i++){
      antenna[i] = Integer.parseInt(br.readLine());
    } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
      antenna[i] = Integer.parseInt(br.readLine());
    } {
      antenna[i] = Integer.parseInt(br.readLine());
    } antenna[i] = Integer.parseInt(br.readLine()) antenna[i] antenna i Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br int k = Integer.parseInt(br.readLine()); k Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br Arrays.sort(antenna) Arrays.sort Arrays antenna String result = "Yay!"; result "Yay!" if (antenna[4] - antenna[0] > k){
      result = ":(";
    } antenna[4] - antenna[0] > k antenna[4] - antenna[0] antenna[4] antenna 4 antenna[0] antenna 0 k {
      result = ":(";
    } result = ":(" result ":(" System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    int[] antenna = new int[5];
    for (int i = 0; i < 5; i++){
      antenna[i] = Integer.parseInt(br.readLine());
    }
    int k = Integer.parseInt(br.readLine());
    Arrays.sort(antenna);
    String result = "Yay!";
    if (antenna[4] - antenna[0] > k){
      result = ":(";
    }
    System.out.println(result);
  }
} public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    int[] antenna = new int[5];
    for (int i = 0; i < 5; i++){
      antenna[i] = Integer.parseInt(br.readLine());
    }
    int k = Integer.parseInt(br.readLine());
    Arrays.sort(antenna);
    String result = "Yay!";
    if (antenna[4] - antenna[0] > k){
      result = ":(";
    }
    System.out.println(result);
  }
} Main
import java.io.*;
import java.util.Arrays;

public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    int[] antenna = new int[5];
    for (int i = 0; i < 5; i++){
      antenna[i] = Integer.parseInt(br.readLine());
    }
    int k = Integer.parseInt(br.readLine());
    Arrays.sort(antenna);
    String result = "Yay!";
    if (antenna[4] - antenna[0] > k){
      result = ":(";
    }
    System.out.println(result);
  }
}
