import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int numlist[] = new int[5];
        int k = 0;
        boolean isOk = true;
        
        for(int i=0; i<5; i++){
            numlist[i] = sc.nextInt();
        }

        k = sc.nextInt();

        loop:for(int i=0; i<5; i++){
            for(int j=i+1; j<5; j++){
                if((numlist[j]-numlist[i])>k){
                    isOk = false;
                    break loop;
                }
            }
        }
        if(isOk){
            System.out.println("Yay!");
        }
        else{
            System.out.println(":(");
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int numlist[] = new int[5];
        int k = 0;
        boolean isOk = true;
        
        for(int i=0; i<5; i++){
            numlist[i] = sc.nextInt();
        }

        k = sc.nextInt();

        loop:for(int i=0; i<5; i++){
            for(int j=i+1; j<5; j++){
                if((numlist[j]-numlist[i])>k){
                    isOk = false;
                    break loop;
                }
            }
        }
        if(isOk){
            System.out.println("Yay!");
        }
        else{
            System.out.println(":(");
        }
    }
} Main public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int numlist[] = new int[5];
        int k = 0;
        boolean isOk = true;
        
        for(int i=0; i<5; i++){
            numlist[i] = sc.nextInt();
        }

        k = sc.nextInt();

        loop:for(int i=0; i<5; i++){
            for(int j=i+1; j<5; j++){
                if((numlist[j]-numlist[i])>k){
                    isOk = false;
                    break loop;
                }
            }
        }
        if(isOk){
            System.out.println("Yay!");
        }
        else{
            System.out.println(":(");
        }
    } main {
        Scanner sc = new Scanner(System.in);
        int numlist[] = new int[5];
        int k = 0;
        boolean isOk = true;
        
        for(int i=0; i<5; i++){
            numlist[i] = sc.nextInt();
        }

        k = sc.nextInt();

        loop:for(int i=0; i<5; i++){
            for(int j=i+1; j<5; j++){
                if((numlist[j]-numlist[i])>k){
                    isOk = false;
                    break loop;
                }
            }
        }
        if(isOk){
            System.out.println("Yay!");
        }
        else{
            System.out.println(":(");
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int numlist[] = new int[5]; numlist new int[5] 5 int k = 0; k 0 boolean isOk = true; isOk true for(int i=0; i<5; i++){
            numlist[i] = sc.nextInt();
        } int i=0; int i=0; i 0 i<5 i 5 i++ i++ i {
            numlist[i] = sc.nextInt();
        } {
            numlist[i] = sc.nextInt();
        } numlist[i] = sc.nextInt() numlist[i] numlist i sc.nextInt() sc.nextInt sc k = sc.nextInt() k sc.nextInt() sc.nextInt sc if(isOk){
            System.out.println("Yay!");
        }
        else{
            System.out.println(":(");
        } isOk {
            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) throws Exception {
        Scanner sc = new Scanner(System.in);
        int numlist[] = new int[5];
        int k = 0;
        boolean isOk = true;
        
        for(int i=0; i<5; i++){
            numlist[i] = sc.nextInt();
        }

        k = sc.nextInt();

        loop:for(int i=0; i<5; i++){
            for(int j=i+1; j<5; j++){
                if((numlist[j]-numlist[i])>k){
                    isOk = false;
                    break loop;
                }
            }
        }
        if(isOk){
            System.out.println("Yay!");
        }
        else{
            System.out.println(":(");
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int numlist[] = new int[5];
        int k = 0;
        boolean isOk = true;
        
        for(int i=0; i<5; i++){
            numlist[i] = sc.nextInt();
        }

        k = sc.nextInt();

        loop:for(int i=0; i<5; i++){
            for(int j=i+1; j<5; j++){
                if((numlist[j]-numlist[i])>k){
                    isOk = false;
                    break loop;
                }
            }
        }
        if(isOk){
            System.out.println("Yay!");
        }
        else{
            System.out.println(":(");
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int numlist[] = new int[5];
        int k = 0;
        boolean isOk = true;
        
        for(int i=0; i<5; i++){
            numlist[i] = sc.nextInt();
        }

        k = sc.nextInt();

        loop:for(int i=0; i<5; i++){
            for(int j=i+1; j<5; j++){
                if((numlist[j]-numlist[i])>k){
                    isOk = false;
                    break loop;
                }
            }
        }
        if(isOk){
            System.out.println("Yay!");
        }
        else{
            System.out.println(":(");
        }
    }
}