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();

        Arrays.sort(array);

        if((array[4]-array[0])<=k){
            System.out.println("Yay!");
        }else{
            System.out.println(":(");
        }
    }

} 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();

        Arrays.sort(array);

        if((array[4]-array[0])<=k){
            System.out.println("Yay!");
        }else{
            System.out.println(":(");
        }
    }

} 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();

        Arrays.sort(array);

        if((array[4]-array[0])<=k){
            System.out.println("Yay!");
        }else{
            System.out.println(":(");
        }
    } 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();

        Arrays.sort(array);

        if((array[4]-array[0])<=k){
            System.out.println("Yay!");
        }else{
            System.out.println(":(");
        }
    } 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 Arrays.sort(array) Arrays.sort Arrays array if((array[4]-array[0])<=k){
            System.out.println("Yay!");
        }else{
            System.out.println(":(");
        } (array[4]-array[0])<=k (array[4]-array[0]) array[4] array 4 array[0] array 0 k {
            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){
        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();

        Arrays.sort(array);

        if((array[4]-array[0])<=k){
            System.out.println("Yay!");
        }else{
            System.out.println(":(");
        }
    }

} 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();

        Arrays.sort(array);

        if((array[4]-array[0])<=k){
            System.out.println("Yay!");
        }else{
            System.out.println(":(");
        }
    }

} 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();

        Arrays.sort(array);

        if((array[4]-array[0])<=k){
            System.out.println("Yay!");
        }else{
            System.out.println(":(");
        }
    }

}
