import java.util.*;

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

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