import java.util.Scanner;

class Main {

  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    int[] p = new int[5];
    int k;
    for (int i = 0; i < 5; i++) {
      p[i] = scanner.nextInt();
    }
    k = scanner.nextInt();
    boolean ans = true;
    for (int i = 0; i < 5; i++) {
      for (int j = i; j < 5; j++) {
        if (p[j] - p[i] > k) {
          ans = false;
        }
      }
    }
    System.out.println(ans ? "Yay!" : ":(");
  }

} import java.util.Scanner; Scanner java.util class Main {

  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    int[] p = new int[5];
    int k;
    for (int i = 0; i < 5; i++) {
      p[i] = scanner.nextInt();
    }
    k = scanner.nextInt();
    boolean ans = true;
    for (int i = 0; i < 5; i++) {
      for (int j = i; j < 5; j++) {
        if (p[j] - p[i] > k) {
          ans = false;
        }
      }
    }
    System.out.println(ans ? "Yay!" : ":(");
  }

} Main public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    int[] p = new int[5];
    int k;
    for (int i = 0; i < 5; i++) {
      p[i] = scanner.nextInt();
    }
    k = scanner.nextInt();
    boolean ans = true;
    for (int i = 0; i < 5; i++) {
      for (int j = i; j < 5; j++) {
        if (p[j] - p[i] > k) {
          ans = false;
        }
      }
    }
    System.out.println(ans ? "Yay!" : ":(");
  } main {
    Scanner scanner = new Scanner(System.in);
    int[] p = new int[5];
    int k;
    for (int i = 0; i < 5; i++) {
      p[i] = scanner.nextInt();
    }
    k = scanner.nextInt();
    boolean ans = true;
    for (int i = 0; i < 5; i++) {
      for (int j = i; j < 5; j++) {
        if (p[j] - p[i] > k) {
          ans = false;
        }
      }
    }
    System.out.println(ans ? "Yay!" : ":(");
  } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int[] p = new int[5]; p new int[5] 5 int k; k for (int i = 0; i < 5; i++) {
      p[i] = scanner.nextInt();
    } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
      p[i] = scanner.nextInt();
    } {
      p[i] = scanner.nextInt();
    } p[i] = scanner.nextInt() p[i] p i scanner.nextInt() scanner.nextInt scanner k = scanner.nextInt() k scanner.nextInt() scanner.nextInt scanner boolean ans = true; ans true for (int i = 0; i < 5; i++) {
      for (int j = i; j < 5; j++) {
        if (p[j] - p[i] > k) {
          ans = false;
        }
      }
    } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
      for (int j = i; j < 5; j++) {
        if (p[j] - p[i] > k) {
          ans = false;
        }
      }
    } {
      for (int j = i; j < 5; j++) {
        if (p[j] - p[i] > k) {
          ans = false;
        }
      }
    } for (int j = i; j < 5; j++) {
        if (p[j] - p[i] > k) {
          ans = false;
        }
      } int j = i; int j = i; j i j < 5 j 5 j++ j++ j {
        if (p[j] - p[i] > k) {
          ans = false;
        }
      } {
        if (p[j] - p[i] > k) {
          ans = false;
        }
      } if (p[j] - p[i] > k) {
          ans = false;
        } p[j] - p[i] > k p[j] - p[i] p[j] p j p[i] p i k {
          ans = false;
        } ans = false ans false System.out.println(ans ? "Yay!" : ":(") System.out.println System.out System System.out ans ? "Yay!" : ":(" ans "Yay!" ":(" String[] args args
import java.util.Scanner;

class Main {

  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    int[] p = new int[5];
    int k;
    for (int i = 0; i < 5; i++) {
      p[i] = scanner.nextInt();
    }
    k = scanner.nextInt();
    boolean ans = true;
    for (int i = 0; i < 5; i++) {
      for (int j = i; j < 5; j++) {
        if (p[j] - p[i] > k) {
          ans = false;
        }
      }
    }
    System.out.println(ans ? "Yay!" : ":(");
  }

}
