import java.util.*;

public class Main {
  public static void main(String args[]) {
    Scanner sc = new Scanner(System.in);
    int[] points = new int[5];
    int distance = 0;

    for (int i = 0; i < points.length; i++) {
      points[i] = sc.nextInt();
    }
    int upper = sc.nextInt();

    loop: for (int i = 0; i < 5; i++) {
      for (int n = 0; n < 5; n++) {
        distance = points[n] - points[i];
        if (distance > upper) {
          System.out.println(":(");
          break loop;
        }
      }
      if (i == 4) {
        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[] points = new int[5];
    int distance = 0;

    for (int i = 0; i < points.length; i++) {
      points[i] = sc.nextInt();
    }
    int upper = sc.nextInt();

    loop: for (int i = 0; i < 5; i++) {
      for (int n = 0; n < 5; n++) {
        distance = points[n] - points[i];
        if (distance > upper) {
          System.out.println(":(");
          break loop;
        }
      }
      if (i == 4) {
        System.out.println("Yay!");
      }
    }
  }
} Main public static void main(String args[]) {
    Scanner sc = new Scanner(System.in);
    int[] points = new int[5];
    int distance = 0;

    for (int i = 0; i < points.length; i++) {
      points[i] = sc.nextInt();
    }
    int upper = sc.nextInt();

    loop: for (int i = 0; i < 5; i++) {
      for (int n = 0; n < 5; n++) {
        distance = points[n] - points[i];
        if (distance > upper) {
          System.out.println(":(");
          break loop;
        }
      }
      if (i == 4) {
        System.out.println("Yay!");
      }
    }
  } main {
    Scanner sc = new Scanner(System.in);
    int[] points = new int[5];
    int distance = 0;

    for (int i = 0; i < points.length; i++) {
      points[i] = sc.nextInt();
    }
    int upper = sc.nextInt();

    loop: for (int i = 0; i < 5; i++) {
      for (int n = 0; n < 5; n++) {
        distance = points[n] - points[i];
        if (distance > upper) {
          System.out.println(":(");
          break loop;
        }
      }
      if (i == 4) {
        System.out.println("Yay!");
      }
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] points = new int[5]; points new int[5] 5 int distance = 0; distance 0 for (int i = 0; i < points.length; i++) {
      points[i] = sc.nextInt();
    } int i = 0; int i = 0; i 0 i < points.length i points.length points points.length i++ i++ i {
      points[i] = sc.nextInt();
    } {
      points[i] = sc.nextInt();
    } points[i] = sc.nextInt() points[i] points i sc.nextInt() sc.nextInt sc int upper = sc.nextInt(); upper sc.nextInt() sc.nextInt sc String args[] args public class Main {
  public static void main(String args[]) {
    Scanner sc = new Scanner(System.in);
    int[] points = new int[5];
    int distance = 0;

    for (int i = 0; i < points.length; i++) {
      points[i] = sc.nextInt();
    }
    int upper = sc.nextInt();

    loop: for (int i = 0; i < 5; i++) {
      for (int n = 0; n < 5; n++) {
        distance = points[n] - points[i];
        if (distance > upper) {
          System.out.println(":(");
          break loop;
        }
      }
      if (i == 4) {
        System.out.println("Yay!");
      }
    }
  }
} public class Main {
  public static void main(String args[]) {
    Scanner sc = new Scanner(System.in);
    int[] points = new int[5];
    int distance = 0;

    for (int i = 0; i < points.length; i++) {
      points[i] = sc.nextInt();
    }
    int upper = sc.nextInt();

    loop: for (int i = 0; i < 5; i++) {
      for (int n = 0; n < 5; n++) {
        distance = points[n] - points[i];
        if (distance > upper) {
          System.out.println(":(");
          break loop;
        }
      }
      if (i == 4) {
        System.out.println("Yay!");
      }
    }
  }
} Main
import java.util.*;

public class Main {
  public static void main(String args[]) {
    Scanner sc = new Scanner(System.in);
    int[] points = new int[5];
    int distance = 0;

    for (int i = 0; i < points.length; i++) {
      points[i] = sc.nextInt();
    }
    int upper = sc.nextInt();

    loop: for (int i = 0; i < 5; i++) {
      for (int n = 0; n < 5; n++) {
        distance = points[n] - points[i];
        if (distance > upper) {
          System.out.println(":(");
          break loop;
        }
      }
      if (i == 4) {
        System.out.println("Yay!");
      }
    }
  }
}