import java.util.*;
public class Main{
  public static void main(String[]args){
      Scanner sc = new Scanner(System.in);

      int data[]= new int[5];
       data[0] = sc.nextInt();
       data[1] = sc.nextInt();
       data[2] = sc.nextInt();
       data[3] = sc.nextInt();
       data[4] = sc.nextInt();



      int k = sc.nextInt();

      for(int i = 0;i<5;i++){
        for(int j = i+1;j<5;j++){
          if(Math.abs(data[i]-data[j])>k){
            System.out.println(":(");
            System.exit(0);
          }
        }
      }
      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 data[]= new int[5];
       data[0] = sc.nextInt();
       data[1] = sc.nextInt();
       data[2] = sc.nextInt();
       data[3] = sc.nextInt();
       data[4] = sc.nextInt();



      int k = sc.nextInt();

      for(int i = 0;i<5;i++){
        for(int j = i+1;j<5;j++){
          if(Math.abs(data[i]-data[j])>k){
            System.out.println(":(");
            System.exit(0);
          }
        }
      }
      System.out.println("Yay!");
  }
} Main public static void main(String[]args){
      Scanner sc = new Scanner(System.in);

      int data[]= new int[5];
       data[0] = sc.nextInt();
       data[1] = sc.nextInt();
       data[2] = sc.nextInt();
       data[3] = sc.nextInt();
       data[4] = sc.nextInt();



      int k = sc.nextInt();

      for(int i = 0;i<5;i++){
        for(int j = i+1;j<5;j++){
          if(Math.abs(data[i]-data[j])>k){
            System.out.println(":(");
            System.exit(0);
          }
        }
      }
      System.out.println("Yay!");
  } main {
      Scanner sc = new Scanner(System.in);

      int data[]= new int[5];
       data[0] = sc.nextInt();
       data[1] = sc.nextInt();
       data[2] = sc.nextInt();
       data[3] = sc.nextInt();
       data[4] = sc.nextInt();



      int k = sc.nextInt();

      for(int i = 0;i<5;i++){
        for(int j = i+1;j<5;j++){
          if(Math.abs(data[i]-data[j])>k){
            System.out.println(":(");
            System.exit(0);
          }
        }
      }
      System.out.println("Yay!");
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int data[]= new int[5]; data new int[5] 5 data[0] = sc.nextInt() data[0] data 0 sc.nextInt() sc.nextInt sc data[1] = sc.nextInt() data[1] data 1 sc.nextInt() sc.nextInt sc data[2] = sc.nextInt() data[2] data 2 sc.nextInt() sc.nextInt sc data[3] = sc.nextInt() data[3] data 3 sc.nextInt() sc.nextInt sc data[4] = sc.nextInt() data[4] data 4 sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc for(int i = 0;i<5;i++){
        for(int j = i+1;j<5;j++){
          if(Math.abs(data[i]-data[j])>k){
            System.out.println(":(");
            System.exit(0);
          }
        }
      } int i = 0; int i = 0; i 0 i<5 i 5 i++ i++ i {
        for(int j = i+1;j<5;j++){
          if(Math.abs(data[i]-data[j])>k){
            System.out.println(":(");
            System.exit(0);
          }
        }
      } {
        for(int j = i+1;j<5;j++){
          if(Math.abs(data[i]-data[j])>k){
            System.out.println(":(");
            System.exit(0);
          }
        }
      } for(int j = i+1;j<5;j++){
          if(Math.abs(data[i]-data[j])>k){
            System.out.println(":(");
            System.exit(0);
          }
        } int j = i+1; int j = i+1; j i+1 i 1 j<5 j 5 j++ j++ j {
          if(Math.abs(data[i]-data[j])>k){
            System.out.println(":(");
            System.exit(0);
          }
        } {
          if(Math.abs(data[i]-data[j])>k){
            System.out.println(":(");
            System.exit(0);
          }
        } if(Math.abs(data[i]-data[j])>k){
            System.out.println(":(");
            System.exit(0);
          } Math.abs(data[i]-data[j])>k Math.abs(data[i]-data[j]) Math.abs Math data[i]-data[j] data[i] data i data[j] data j k {
            System.out.println(":(");
            System.exit(0);
          } System.out.println(":(") System.out.println System.out System System.out ":(" System.exit(0) System.exit System 0 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 data[]= new int[5];
       data[0] = sc.nextInt();
       data[1] = sc.nextInt();
       data[2] = sc.nextInt();
       data[3] = sc.nextInt();
       data[4] = sc.nextInt();



      int k = sc.nextInt();

      for(int i = 0;i<5;i++){
        for(int j = i+1;j<5;j++){
          if(Math.abs(data[i]-data[j])>k){
            System.out.println(":(");
            System.exit(0);
          }
        }
      }
      System.out.println("Yay!");
  }
} public class Main{
  public static void main(String[]args){
      Scanner sc = new Scanner(System.in);

      int data[]= new int[5];
       data[0] = sc.nextInt();
       data[1] = sc.nextInt();
       data[2] = sc.nextInt();
       data[3] = sc.nextInt();
       data[4] = sc.nextInt();



      int k = sc.nextInt();

      for(int i = 0;i<5;i++){
        for(int j = i+1;j<5;j++){
          if(Math.abs(data[i]-data[j])>k){
            System.out.println(":(");
            System.exit(0);
          }
        }
      }
      System.out.println("Yay!");
  }
} Main
import java.util.*;
public class Main{
  public static void main(String[]args){
      Scanner sc = new Scanner(System.in);

      int data[]= new int[5];
       data[0] = sc.nextInt();
       data[1] = sc.nextInt();
       data[2] = sc.nextInt();
       data[3] = sc.nextInt();
       data[4] = sc.nextInt();



      int k = sc.nextInt();

      for(int i = 0;i<5;i++){
        for(int j = i+1;j<5;j++){
          if(Math.abs(data[i]-data[j])>k){
            System.out.println(":(");
            System.exit(0);
          }
        }
      }
      System.out.println("Yay!");
  }
}