import java.util.*;

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

    int[] array = new int[5];
    for(int i=0; i<5; i++){
      array[i] = sc.nextInt();
    }

    int k = sc.nextInt();

    int sub = array[4] - array[0];

    if(sub>k){
      System.out.println(":(");
    }else{
      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[] array = new int[5];
    for(int i=0; i<5; i++){
      array[i] = sc.nextInt();
    }

    int k = sc.nextInt();

    int sub = array[4] - array[0];

    if(sub>k){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);

    int[] array = new int[5];
    for(int i=0; i<5; i++){
      array[i] = sc.nextInt();
    }

    int k = sc.nextInt();

    int sub = array[4] - array[0];

    if(sub>k){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
  } main {
    Scanner sc = new Scanner(System.in);

    int[] array = new int[5];
    for(int i=0; i<5; i++){
      array[i] = sc.nextInt();
    }

    int k = sc.nextInt();

    int sub = array[4] - array[0];

    if(sub>k){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] array = new int[5]; array new int[5] 5 for(int i=0; i<5; i++){
      array[i] = sc.nextInt();
    } int i=0; int i=0; i 0 i<5 i 5 i++ i++ i {
      array[i] = sc.nextInt();
    } {
      array[i] = sc.nextInt();
    } array[i] = sc.nextInt() array[i] array i sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc int sub = array[4] - array[0]; sub array[4] - array[0] array[4] array 4 array[0] array 0 if(sub>k){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    } sub>k sub k {
      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[] array = new int[5];
    for(int i=0; i<5; i++){
      array[i] = sc.nextInt();
    }

    int k = sc.nextInt();

    int sub = array[4] - array[0];

    if(sub>k){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
  }
} public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);

    int[] array = new int[5];
    for(int i=0; i<5; i++){
      array[i] = sc.nextInt();
    }

    int k = sc.nextInt();

    int sub = array[4] - array[0];

    if(sub>k){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
  }
} Main
import java.util.*;

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

    int[] array = new int[5];
    for(int i=0; i<5; i++){
      array[i] = sc.nextInt();
    }

    int k = sc.nextInt();

    int sub = array[4] - array[0];

    if(sub>k){
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
  }
}