import java.util.*;

public class Main{
  static int[] ans;
  static Map<Integer, Integer> map;
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    int[] num = new int[5];
    for(int i = 0; i < 5; i++){
      num[i] = sc.nextInt();
    }
    int k = sc.nextInt();
    
    String ans = "Yay!";
    a : for(int i = 0; i < 4; i++){
      for(int j = i+1; j < 5; j++){
        if(Math.abs(num[i] - num[j]) > k){
          ans = ":(";
          break a;
        }
      }
    }
    System.out.println(ans);
  }
} import java.util.*; util.* java public class Main{
  static int[] ans;
  static Map<Integer, Integer> map;
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    int[] num = new int[5];
    for(int i = 0; i < 5; i++){
      num[i] = sc.nextInt();
    }
    int k = sc.nextInt();
    
    String ans = "Yay!";
    a : for(int i = 0; i < 4; i++){
      for(int j = i+1; j < 5; j++){
        if(Math.abs(num[i] - num[j]) > k){
          ans = ":(";
          break a;
        }
      }
    }
    System.out.println(ans);
  }
} Main static int[] ans; ans static Map<Integer, Integer> map; map public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    int[] num = new int[5];
    for(int i = 0; i < 5; i++){
      num[i] = sc.nextInt();
    }
    int k = sc.nextInt();
    
    String ans = "Yay!";
    a : for(int i = 0; i < 4; i++){
      for(int j = i+1; j < 5; j++){
        if(Math.abs(num[i] - num[j]) > k){
          ans = ":(";
          break a;
        }
      }
    }
    System.out.println(ans);
  } main {
    Scanner sc = new Scanner(System.in);
    int[] num = new int[5];
    for(int i = 0; i < 5; i++){
      num[i] = sc.nextInt();
    }
    int k = sc.nextInt();
    
    String ans = "Yay!";
    a : for(int i = 0; i < 4; i++){
      for(int j = i+1; j < 5; j++){
        if(Math.abs(num[i] - num[j]) > k){
          ans = ":(";
          break a;
        }
      }
    }
    System.out.println(ans);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] num = new int[5]; num new int[5] 5 for(int i = 0; i < 5; i++){
      num[i] = sc.nextInt();
    } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
      num[i] = sc.nextInt();
    } {
      num[i] = sc.nextInt();
    } num[i] = sc.nextInt() num[i] num i sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc String ans = "Yay!"; ans "Yay!" System.out.println(ans) System.out.println System.out System System.out ans String[]args args public class Main{
  static int[] ans;
  static Map<Integer, Integer> map;
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    int[] num = new int[5];
    for(int i = 0; i < 5; i++){
      num[i] = sc.nextInt();
    }
    int k = sc.nextInt();
    
    String ans = "Yay!";
    a : for(int i = 0; i < 4; i++){
      for(int j = i+1; j < 5; j++){
        if(Math.abs(num[i] - num[j]) > k){
          ans = ":(";
          break a;
        }
      }
    }
    System.out.println(ans);
  }
} public class Main{
  static int[] ans;
  static Map<Integer, Integer> map;
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    int[] num = new int[5];
    for(int i = 0; i < 5; i++){
      num[i] = sc.nextInt();
    }
    int k = sc.nextInt();
    
    String ans = "Yay!";
    a : for(int i = 0; i < 4; i++){
      for(int j = i+1; j < 5; j++){
        if(Math.abs(num[i] - num[j]) > k){
          ans = ":(";
          break a;
        }
      }
    }
    System.out.println(ans);
  }
} Main
import java.util.*;

public class Main{
  static int[] ans;
  static Map<Integer, Integer> map;
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    int[] num = new int[5];
    for(int i = 0; i < 5; i++){
      num[i] = sc.nextInt();
    }
    int k = sc.nextInt();
    
    String ans = "Yay!";
    a : for(int i = 0; i < 4; i++){
      for(int j = i+1; j < 5; j++){
        if(Math.abs(num[i] - num[j]) > k){
          ans = ":(";
          break a;
        }
      }
    }
    System.out.println(ans);
  }
}