import java.util.Scanner;

public class Main{
  public static void main(String[]args){
    Scanner sc=new Scanner(System.in);
    int a[]=new int[5];
    for(int s=0;s<5;s++){
      a[s]=sc.nextInt();
    }
    int count=0;
    int k=sc.nextInt();
    for(int s=0;s<4;s++){
      for(int l=s+1;l<5;l++){
        if(a[l]-a[s]>k){
          count++;
        }
      }
    }
    if(count>0){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
  }
} import java.util.Scanner; Scanner java.util public class Main{
  public static void main(String[]args){
    Scanner sc=new Scanner(System.in);
    int a[]=new int[5];
    for(int s=0;s<5;s++){
      a[s]=sc.nextInt();
    }
    int count=0;
    int k=sc.nextInt();
    for(int s=0;s<4;s++){
      for(int l=s+1;l<5;l++){
        if(a[l]-a[s]>k){
          count++;
        }
      }
    }
    if(count>0){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
  }
} Main public static void main(String[]args){
    Scanner sc=new Scanner(System.in);
    int a[]=new int[5];
    for(int s=0;s<5;s++){
      a[s]=sc.nextInt();
    }
    int count=0;
    int k=sc.nextInt();
    for(int s=0;s<4;s++){
      for(int l=s+1;l<5;l++){
        if(a[l]-a[s]>k){
          count++;
        }
      }
    }
    if(count>0){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
  } main {
    Scanner sc=new Scanner(System.in);
    int a[]=new int[5];
    for(int s=0;s<5;s++){
      a[s]=sc.nextInt();
    }
    int count=0;
    int k=sc.nextInt();
    for(int s=0;s<4;s++){
      for(int l=s+1;l<5;l++){
        if(a[l]-a[s]>k){
          count++;
        }
      }
    }
    if(count>0){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
  } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int a[]=new int[5]; a new int[5] 5 for(int s=0;s<5;s++){
      a[s]=sc.nextInt();
    } int s=0; int s=0; s 0 s<5 s 5 s++ s++ s {
      a[s]=sc.nextInt();
    } {
      a[s]=sc.nextInt();
    } a[s]=sc.nextInt() a[s] a s sc.nextInt() sc.nextInt sc int count=0; count 0 int k=sc.nextInt(); k sc.nextInt() sc.nextInt sc for(int s=0;s<4;s++){
      for(int l=s+1;l<5;l++){
        if(a[l]-a[s]>k){
          count++;
        }
      }
    } int s=0; int s=0; s 0 s<4 s 4 s++ s++ s {
      for(int l=s+1;l<5;l++){
        if(a[l]-a[s]>k){
          count++;
        }
      }
    } {
      for(int l=s+1;l<5;l++){
        if(a[l]-a[s]>k){
          count++;
        }
      }
    } for(int l=s+1;l<5;l++){
        if(a[l]-a[s]>k){
          count++;
        }
      } int l=s+1; int l=s+1; l s+1 s 1 l<5 l 5 l++ l++ l {
        if(a[l]-a[s]>k){
          count++;
        }
      } {
        if(a[l]-a[s]>k){
          count++;
        }
      } if(a[l]-a[s]>k){
          count++;
        } a[l]-a[s]>k a[l]-a[s] a[l] a l a[s] a s k {
          count++;
        } count++ count if(count>0){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    } count>0 count 0 {
      System.out.println(":(");
    } System.out.println(":(") System.out.println System.out System System.out ":(" {
      System.out.println("Yay!");
    } 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 a[]=new int[5];
    for(int s=0;s<5;s++){
      a[s]=sc.nextInt();
    }
    int count=0;
    int k=sc.nextInt();
    for(int s=0;s<4;s++){
      for(int l=s+1;l<5;l++){
        if(a[l]-a[s]>k){
          count++;
        }
      }
    }
    if(count>0){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
  }
} public class Main{
  public static void main(String[]args){
    Scanner sc=new Scanner(System.in);
    int a[]=new int[5];
    for(int s=0;s<5;s++){
      a[s]=sc.nextInt();
    }
    int count=0;
    int k=sc.nextInt();
    for(int s=0;s<4;s++){
      for(int l=s+1;l<5;l++){
        if(a[l]-a[s]>k){
          count++;
        }
      }
    }
    if(count>0){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
  }
} Main
import java.util.Scanner;

public class Main{
  public static void main(String[]args){
    Scanner sc=new Scanner(System.in);
    int a[]=new int[5];
    for(int s=0;s<5;s++){
      a[s]=sc.nextInt();
    }
    int count=0;
    int k=sc.nextInt();
    for(int s=0;s<4;s++){
      for(int l=s+1;l<5;l++){
        if(a[l]-a[s]>k){
          count++;
        }
      }
    }
    if(count>0){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
  }
}