import java.util.*;

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

public class Main {
  public static void main (String[] args) {
    Scanner sc = new Scanner(System.in);
    int[] points = new int[5];
    for(int i = 0; i < points.length; i++){
      points[i] = sc.nextInt();
    }
    int d = sc.nextInt();
    boolean check = true;
    for(int j = 0; j < points.length; j++){
      for(int k = 0; k < points.length; k++){
    	  if(j > k) {
    		  if((points[j] - points[k]) > d){
    			  check = false;
    		  }
    	  }else {
    		  if((points[k] - points[j]) > d){
    			  check = false;
    		  } 
    	  }
      }
    }
    if(check){
      System.out.println("Yay!");
    }else {
      System.out.println(":(");
    }
  }
}