import java.util.*;
 
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    
    int[] list = new int[5];
    for (int i=0; i<list.length; i++) {
      list[i] = sc.nextInt();
    }
    int k = sc.nextInt();
    
    int max = 0;
    for (int i=0; i<list.length; i++) {
      for (int j=i+1; j<list.length; j++) {
        max = Math.max(max, list[j]-list[i]);
      }
    }
    
    if (max > k) {
      System.out.println(":(");
    }
    else {
      System.out.println("Yay!");
    }
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    
    int[] list = new int[5];
    for (int i=0; i<list.length; i++) {
      list[i] = sc.nextInt();
    }
    int k = sc.nextInt();
    
    int max = 0;
    for (int i=0; i<list.length; i++) {
      for (int j=i+1; j<list.length; j++) {
        max = Math.max(max, list[j]-list[i]);
      }
    }
    
    if (max > k) {
      System.out.println(":(");
    }
    else {
      System.out.println("Yay!");
    }
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    
    int[] list = new int[5];
    for (int i=0; i<list.length; i++) {
      list[i] = sc.nextInt();
    }
    int k = sc.nextInt();
    
    int max = 0;
    for (int i=0; i<list.length; i++) {
      for (int j=i+1; j<list.length; j++) {
        max = Math.max(max, list[j]-list[i]);
      }
    }
    
    if (max > k) {
      System.out.println(":(");
    }
    else {
      System.out.println("Yay!");
    }
  } main {
    Scanner sc = new Scanner(System.in);
    
    int[] list = new int[5];
    for (int i=0; i<list.length; i++) {
      list[i] = sc.nextInt();
    }
    int k = sc.nextInt();
    
    int max = 0;
    for (int i=0; i<list.length; i++) {
      for (int j=i+1; j<list.length; j++) {
        max = Math.max(max, list[j]-list[i]);
      }
    }
    
    if (max > k) {
      System.out.println(":(");
    }
    else {
      System.out.println("Yay!");
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] list = new int[5]; list new int[5] 5 for (int i=0; i<list.length; i++) {
      list[i] = sc.nextInt();
    } int i=0; int i=0; i 0 i<list.length i list.length list list.length i++ i++ i {
      list[i] = sc.nextInt();
    } {
      list[i] = sc.nextInt();
    } list[i] = sc.nextInt() list[i] list i sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc int max = 0; max 0 for (int i=0; i<list.length; i++) {
      for (int j=i+1; j<list.length; j++) {
        max = Math.max(max, list[j]-list[i]);
      }
    } int i=0; int i=0; i 0 i<list.length i list.length list list.length i++ i++ i {
      for (int j=i+1; j<list.length; j++) {
        max = Math.max(max, list[j]-list[i]);
      }
    } {
      for (int j=i+1; j<list.length; j++) {
        max = Math.max(max, list[j]-list[i]);
      }
    } for (int j=i+1; j<list.length; j++) {
        max = Math.max(max, list[j]-list[i]);
      } int j=i+1; int j=i+1; j i+1 i 1 j<list.length j list.length list list.length j++ j++ j {
        max = Math.max(max, list[j]-list[i]);
      } {
        max = Math.max(max, list[j]-list[i]);
      } max = Math.max(max, list[j]-list[i]) max Math.max(max, list[j]-list[i]) Math.max Math max list[j]-list[i] list[j] list j list[i] list i if (max > k) {
      System.out.println(":(");
    }
    else {
      System.out.println("Yay!");
    } max > k max k {
      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) {
    Scanner sc = new Scanner(System.in);
    
    int[] list = new int[5];
    for (int i=0; i<list.length; i++) {
      list[i] = sc.nextInt();
    }
    int k = sc.nextInt();
    
    int max = 0;
    for (int i=0; i<list.length; i++) {
      for (int j=i+1; j<list.length; j++) {
        max = Math.max(max, list[j]-list[i]);
      }
    }
    
    if (max > k) {
      System.out.println(":(");
    }
    else {
      System.out.println("Yay!");
    }
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    
    int[] list = new int[5];
    for (int i=0; i<list.length; i++) {
      list[i] = sc.nextInt();
    }
    int k = sc.nextInt();
    
    int max = 0;
    for (int i=0; i<list.length; i++) {
      for (int j=i+1; j<list.length; j++) {
        max = Math.max(max, list[j]-list[i]);
      }
    }
    
    if (max > k) {
      System.out.println(":(");
    }
    else {
      System.out.println("Yay!");
    }
  }
} Main
import java.util.*;
 
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    
    int[] list = new int[5];
    for (int i=0; i<list.length; i++) {
      list[i] = sc.nextInt();
    }
    int k = sc.nextInt();
    
    int max = 0;
    for (int i=0; i<list.length; i++) {
      for (int j=i+1; j<list.length; j++) {
        max = Math.max(max, list[j]-list[i]);
      }
    }
    
    if (max > k) {
      System.out.println(":(");
    }
    else {
      System.out.println("Yay!");
    }
  }
}