import java.util.Scanner;

class Main {
    public static void main(final String[] args) {
        Scanner scan = new Scanner(System.in);
        int[] antenna = new int[5];
        for (int i = 0; i < 5; i++) {
            antenna[i] = scan.nextInt();
        }
        int k = scan.nextInt();
        String ans = "Yay!";
        x: for (int i = 0; i < 5; i++) {
            for (int j = 0; j < 5 - j; j++) {
                if (Math.abs(antenna[i] - antenna[j]) > k) {
                    ans = ":(";
                    break x;
                }
            }
        }
        System.out.println(ans);
    }
} import java.util.Scanner; Scanner java.util class Main {
    public static void main(final String[] args) {
        Scanner scan = new Scanner(System.in);
        int[] antenna = new int[5];
        for (int i = 0; i < 5; i++) {
            antenna[i] = scan.nextInt();
        }
        int k = scan.nextInt();
        String ans = "Yay!";
        x: for (int i = 0; i < 5; i++) {
            for (int j = 0; j < 5 - j; j++) {
                if (Math.abs(antenna[i] - antenna[j]) > k) {
                    ans = ":(";
                    break x;
                }
            }
        }
        System.out.println(ans);
    }
} Main public static void main(final String[] args) {
        Scanner scan = new Scanner(System.in);
        int[] antenna = new int[5];
        for (int i = 0; i < 5; i++) {
            antenna[i] = scan.nextInt();
        }
        int k = scan.nextInt();
        String ans = "Yay!";
        x: for (int i = 0; i < 5; i++) {
            for (int j = 0; j < 5 - j; j++) {
                if (Math.abs(antenna[i] - antenna[j]) > k) {
                    ans = ":(";
                    break x;
                }
            }
        }
        System.out.println(ans);
    } main {
        Scanner scan = new Scanner(System.in);
        int[] antenna = new int[5];
        for (int i = 0; i < 5; i++) {
            antenna[i] = scan.nextInt();
        }
        int k = scan.nextInt();
        String ans = "Yay!";
        x: for (int i = 0; i < 5; i++) {
            for (int j = 0; j < 5 - j; j++) {
                if (Math.abs(antenna[i] - antenna[j]) > k) {
                    ans = ":(";
                    break x;
                }
            }
        }
        System.out.println(ans);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int[] antenna = new int[5]; antenna new int[5] 5 for (int i = 0; i < 5; i++) {
            antenna[i] = scan.nextInt();
        } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
            antenna[i] = scan.nextInt();
        } {
            antenna[i] = scan.nextInt();
        } antenna[i] = scan.nextInt() antenna[i] antenna i scan.nextInt() scan.nextInt scan int k = scan.nextInt(); k scan.nextInt() scan.nextInt scan String ans = "Yay!"; ans "Yay!" System.out.println(ans) System.out.println System.out System System.out ans final String[] args args
import java.util.Scanner;

class Main {
    public static void main(final String[] args) {
        Scanner scan = new Scanner(System.in);
        int[] antenna = new int[5];
        for (int i = 0; i < 5; i++) {
            antenna[i] = scan.nextInt();
        }
        int k = scan.nextInt();
        String ans = "Yay!";
        x: for (int i = 0; i < 5; i++) {
            for (int j = 0; j < 5 - j; j++) {
                if (Math.abs(antenna[i] - antenna[j]) > k) {
                    ans = ":(";
                    break x;
                }
            }
        }
        System.out.println(ans);
    }
}
