import java.util.Scanner;
class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int[] A = new int[5];
        int count = 0;

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

        for (int i = 4; i > 0; i--) {
            for (int j = 3; j >= 0; j--) {
                if (A[i] - A[j] > k ) {
                    count++;
                } 
            }
        }

        if (count > 0) {
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    }
} import java.util.Scanner; Scanner java.util class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int[] A = new int[5];
        int count = 0;

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

        for (int i = 4; i > 0; i--) {
            for (int j = 3; j >= 0; j--) {
                if (A[i] - A[j] > 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];
        int count = 0;

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

        for (int i = 4; i > 0; i--) {
            for (int j = 3; j >= 0; j--) {
                if (A[i] - A[j] > 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];
        int count = 0;

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

        for (int i = 4; i > 0; i--) {
            for (int j = 3; j >= 0; j--) {
                if (A[i] - A[j] > 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 int count = 0; count 0 for (int i = 0; i < 5; i++) {
            A[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
            A[i] = sc.nextInt();
        } {
            A[i] = sc.nextInt();
        } A[i] = sc.nextInt() A[i] A i sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc for (int i = 4; i > 0; i--) {
            for (int j = 3; j >= 0; j--) {
                if (A[i] - A[j] > k ) {
                    count++;
                } 
            }
        } int i = 4; int i = 4; i 4 i > 0 i 0 i-- i-- i {
            for (int j = 3; j >= 0; j--) {
                if (A[i] - A[j] > k ) {
                    count++;
                } 
            }
        } {
            for (int j = 3; j >= 0; j--) {
                if (A[i] - A[j] > k ) {
                    count++;
                } 
            }
        } for (int j = 3; j >= 0; j--) {
                if (A[i] - A[j] > k ) {
                    count++;
                } 
            } int j = 3; int j = 3; j 3 j >= 0 j 0 j-- j-- j {
                if (A[i] - A[j] > k ) {
                    count++;
                } 
            } {
                if (A[i] - A[j] > k ) {
                    count++;
                } 
            } if (A[i] - A[j] > k ) {
                    count++;
                } A[i] - A[j] > k A[i] - A[j] A[i] A i A[j] A j 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
import java.util.Scanner;
class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int[] A = new int[5];
        int count = 0;

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

        for (int i = 4; i > 0; i--) {
            for (int j = 3; j >= 0; j--) {
                if (A[i] - A[j] > k ) {
                    count++;
                } 
            }
        }

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