import java.util.*;
import java.io.*;

public class Main{
  public static void main(String[] args) throws Exception{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int[] a = new int[6];
    
    for(int i = 0; i < 6; i++){
      a[i] = Integer.parseInt(br.readLine());
    }
    
    boolean flag = true;
    for(int i = 0; i < 5; i++){
      for(int j = 0; j < 5; j++){
        if(Math.abs(a[i] - a[j]) > a[5]){
          flag = false;
          break;
        }
      }
    }
    
    if(flag){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  }
} import java.util.*; util.* java import java.io.*; io.* java public class Main{
  public static void main(String[] args) throws Exception{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int[] a = new int[6];
    
    for(int i = 0; i < 6; i++){
      a[i] = Integer.parseInt(br.readLine());
    }
    
    boolean flag = true;
    for(int i = 0; i < 5; i++){
      for(int j = 0; j < 5; j++){
        if(Math.abs(a[i] - a[j]) > a[5]){
          flag = false;
          break;
        }
      }
    }
    
    if(flag){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  }
} Main public static void main(String[] args) throws Exception{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int[] a = new int[6];
    
    for(int i = 0; i < 6; i++){
      a[i] = Integer.parseInt(br.readLine());
    }
    
    boolean flag = true;
    for(int i = 0; i < 5; i++){
      for(int j = 0; j < 5; j++){
        if(Math.abs(a[i] - a[j]) > a[5]){
          flag = false;
          break;
        }
      }
    }
    
    if(flag){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  } main {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int[] a = new int[6];
    
    for(int i = 0; i < 6; i++){
      a[i] = Integer.parseInt(br.readLine());
    }
    
    boolean flag = true;
    for(int i = 0; i < 5; i++){
      for(int j = 0; j < 5; j++){
        if(Math.abs(a[i] - a[j]) > a[5]){
          flag = false;
          break;
        }
      }
    }
    
    if(flag){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int[] a = new int[6]; a new int[6] 6 for(int i = 0; i < 6; i++){
      a[i] = Integer.parseInt(br.readLine());
    } int i = 0; int i = 0; i 0 i < 6 i 6 i++ i++ i {
      a[i] = Integer.parseInt(br.readLine());
    } {
      a[i] = Integer.parseInt(br.readLine());
    } a[i] = Integer.parseInt(br.readLine()) a[i] a i Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br boolean flag = true; flag true for(int i = 0; i < 5; i++){
      for(int j = 0; j < 5; j++){
        if(Math.abs(a[i] - a[j]) > a[5]){
          flag = false;
          break;
        }
      }
    } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
      for(int j = 0; j < 5; j++){
        if(Math.abs(a[i] - a[j]) > a[5]){
          flag = false;
          break;
        }
      }
    } {
      for(int j = 0; j < 5; j++){
        if(Math.abs(a[i] - a[j]) > a[5]){
          flag = false;
          break;
        }
      }
    } for(int j = 0; j < 5; j++){
        if(Math.abs(a[i] - a[j]) > a[5]){
          flag = false;
          break;
        }
      } int j = 0; int j = 0; j 0 j < 5 j 5 j++ j++ j {
        if(Math.abs(a[i] - a[j]) > a[5]){
          flag = false;
          break;
        }
      } {
        if(Math.abs(a[i] - a[j]) > a[5]){
          flag = false;
          break;
        }
      } if(Math.abs(a[i] - a[j]) > a[5]){
          flag = false;
          break;
        } Math.abs(a[i] - a[j]) > a[5] Math.abs(a[i] - a[j]) Math.abs Math a[i] - a[j] a[i] a i a[j] a j a[5] a 5 {
          flag = false;
          break;
        } flag = false flag false break; if(flag){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    } flag {
      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) throws Exception{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int[] a = new int[6];
    
    for(int i = 0; i < 6; i++){
      a[i] = Integer.parseInt(br.readLine());
    }
    
    boolean flag = true;
    for(int i = 0; i < 5; i++){
      for(int j = 0; j < 5; j++){
        if(Math.abs(a[i] - a[j]) > a[5]){
          flag = false;
          break;
        }
      }
    }
    
    if(flag){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  }
} public class Main{
  public static void main(String[] args) throws Exception{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int[] a = new int[6];
    
    for(int i = 0; i < 6; i++){
      a[i] = Integer.parseInt(br.readLine());
    }
    
    boolean flag = true;
    for(int i = 0; i < 5; i++){
      for(int j = 0; j < 5; j++){
        if(Math.abs(a[i] - a[j]) > a[5]){
          flag = false;
          break;
        }
      }
    }
    
    if(flag){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  }
} Main
import java.util.*;
import java.io.*;

public class Main{
  public static void main(String[] args) throws Exception{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int[] a = new int[6];
    
    for(int i = 0; i < 6; i++){
      a[i] = Integer.parseInt(br.readLine());
    }
    
    boolean flag = true;
    for(int i = 0; i < 5; i++){
      for(int j = 0; j < 5; j++){
        if(Math.abs(a[i] - a[j]) > a[5]){
          flag = false;
          break;
        }
      }
    }
    
    if(flag){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  }
}