import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);

    int num[] = new int[5];

    for(int i=0; i<=4; i++){
      num[i] = scanner.nextInt();
    }
    int k = scanner.nextInt();

    for(int i=0; i<num.length; i++){
      if(num[num.length-i-1] - num[i] > k){
        System.out.println(":(");
        return;
      }
    }
    System.out.println("Yay!");
    return;

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

    int num[] = new int[5];

    for(int i=0; i<=4; i++){
      num[i] = scanner.nextInt();
    }
    int k = scanner.nextInt();

    for(int i=0; i<num.length; i++){
      if(num[num.length-i-1] - num[i] > k){
        System.out.println(":(");
        return;
      }
    }
    System.out.println("Yay!");
    return;

  }
} Main public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);

    int num[] = new int[5];

    for(int i=0; i<=4; i++){
      num[i] = scanner.nextInt();
    }
    int k = scanner.nextInt();

    for(int i=0; i<num.length; i++){
      if(num[num.length-i-1] - num[i] > k){
        System.out.println(":(");
        return;
      }
    }
    System.out.println("Yay!");
    return;

  } main {
    Scanner scanner = new Scanner(System.in);

    int num[] = new int[5];

    for(int i=0; i<=4; i++){
      num[i] = scanner.nextInt();
    }
    int k = scanner.nextInt();

    for(int i=0; i<num.length; i++){
      if(num[num.length-i-1] - num[i] > k){
        System.out.println(":(");
        return;
      }
    }
    System.out.println("Yay!");
    return;

  } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int num[] = new int[5]; num new int[5] 5 for(int i=0; i<=4; i++){
      num[i] = scanner.nextInt();
    } int i=0; int i=0; i 0 i<=4 i 4 i++ i++ i {
      num[i] = scanner.nextInt();
    } {
      num[i] = scanner.nextInt();
    } num[i] = scanner.nextInt() num[i] num i scanner.nextInt() scanner.nextInt scanner int k = scanner.nextInt(); k scanner.nextInt() scanner.nextInt scanner for(int i=0; i<num.length; i++){
      if(num[num.length-i-1] - num[i] > k){
        System.out.println(":(");
        return;
      }
    } int i=0; int i=0; i 0 i<num.length i num.length num num.length i++ i++ i {
      if(num[num.length-i-1] - num[i] > k){
        System.out.println(":(");
        return;
      }
    } {
      if(num[num.length-i-1] - num[i] > k){
        System.out.println(":(");
        return;
      }
    } if(num[num.length-i-1] - num[i] > k){
        System.out.println(":(");
        return;
      } num[num.length-i-1] - num[i] > k num[num.length-i-1] - num[i] num[num.length-i-1] num num.length-i-1 num.length-i-1 num.length num num.length i 1 num[i] num i k {
        System.out.println(":(");
        return;
      } System.out.println(":(") System.out.println System.out System System.out ":(" return; System.out.println("Yay!") System.out.println System.out System System.out "Yay!" return; String[] args args public class Main{
  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);

    int num[] = new int[5];

    for(int i=0; i<=4; i++){
      num[i] = scanner.nextInt();
    }
    int k = scanner.nextInt();

    for(int i=0; i<num.length; i++){
      if(num[num.length-i-1] - num[i] > k){
        System.out.println(":(");
        return;
      }
    }
    System.out.println("Yay!");
    return;

  }
} public class Main{
  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);

    int num[] = new int[5];

    for(int i=0; i<=4; i++){
      num[i] = scanner.nextInt();
    }
    int k = scanner.nextInt();

    for(int i=0; i<num.length; i++){
      if(num[num.length-i-1] - num[i] > k){
        System.out.println(":(");
        return;
      }
    }
    System.out.println("Yay!");
    return;

  }
} Main
import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);

    int num[] = new int[5];

    for(int i=0; i<=4; i++){
      num[i] = scanner.nextInt();
    }
    int k = scanner.nextInt();

    for(int i=0; i<num.length; i++){
      if(num[num.length-i-1] - num[i] > k){
        System.out.println(":(");
        return;
      }
    }
    System.out.println("Yay!");
    return;

  }
}