import java.util.Scanner;

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

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