import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        final Scanner scanner = new Scanner(System.in);
        final int a = scanner.nextInt();
        final int b = scanner.nextInt();
        final int c = scanner.nextInt();
        final int d = scanner.nextInt();
        final int e = scanner.nextInt();
        final int k = scanner.nextInt();

        final int min = Math.min(Math.min(Math.min(Math.min(a, b), c), d), e);
        final int max = Math.max(Math.max(Math.max(Math.max(a, b), c), d), e);

        System.out.println(max - min <= k ? "Yay!" : ":(");
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) throws Exception {
        final Scanner scanner = new Scanner(System.in);
        final int a = scanner.nextInt();
        final int b = scanner.nextInt();
        final int c = scanner.nextInt();
        final int d = scanner.nextInt();
        final int e = scanner.nextInt();
        final int k = scanner.nextInt();

        final int min = Math.min(Math.min(Math.min(Math.min(a, b), c), d), e);
        final int max = Math.max(Math.max(Math.max(Math.max(a, b), c), d), e);

        System.out.println(max - min <= k ? "Yay!" : ":(");
    }
} Main public static void main(String[] args) throws Exception {
        final Scanner scanner = new Scanner(System.in);
        final int a = scanner.nextInt();
        final int b = scanner.nextInt();
        final int c = scanner.nextInt();
        final int d = scanner.nextInt();
        final int e = scanner.nextInt();
        final int k = scanner.nextInt();

        final int min = Math.min(Math.min(Math.min(Math.min(a, b), c), d), e);
        final int max = Math.max(Math.max(Math.max(Math.max(a, b), c), d), e);

        System.out.println(max - min <= k ? "Yay!" : ":(");
    } main {
        final Scanner scanner = new Scanner(System.in);
        final int a = scanner.nextInt();
        final int b = scanner.nextInt();
        final int c = scanner.nextInt();
        final int d = scanner.nextInt();
        final int e = scanner.nextInt();
        final int k = scanner.nextInt();

        final int min = Math.min(Math.min(Math.min(Math.min(a, b), c), d), e);
        final int max = Math.max(Math.max(Math.max(Math.max(a, b), c), d), e);

        System.out.println(max - min <= k ? "Yay!" : ":(");
    } final Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) final int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner final int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner final int c = scanner.nextInt(); c scanner.nextInt() scanner.nextInt scanner final int d = scanner.nextInt(); d scanner.nextInt() scanner.nextInt scanner final int e = scanner.nextInt(); e scanner.nextInt() scanner.nextInt scanner final int k = scanner.nextInt(); k scanner.nextInt() scanner.nextInt scanner final int min = Math.min(Math.min(Math.min(Math.min(a, b), c), d), e); min Math.min(Math.min(Math.min(Math.min(a, b), c), d), e) Math.min Math Math.min(Math.min(Math.min(a, b), c), d) Math.min Math Math.min(Math.min(a, b), c) Math.min Math Math.min(a, b) Math.min Math a b c d e final int max = Math.max(Math.max(Math.max(Math.max(a, b), c), d), e); max Math.max(Math.max(Math.max(Math.max(a, b), c), d), e) Math.max Math Math.max(Math.max(Math.max(a, b), c), d) Math.max Math Math.max(Math.max(a, b), c) Math.max Math Math.max(a, b) Math.max Math a b c d e System.out.println(max - min <= k ? "Yay!" : ":(") System.out.println System.out System System.out max - min <= k ? "Yay!" : ":(" max - min <= k max - min max min k "Yay!" ":(" String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        final Scanner scanner = new Scanner(System.in);
        final int a = scanner.nextInt();
        final int b = scanner.nextInt();
        final int c = scanner.nextInt();
        final int d = scanner.nextInt();
        final int e = scanner.nextInt();
        final int k = scanner.nextInt();

        final int min = Math.min(Math.min(Math.min(Math.min(a, b), c), d), e);
        final int max = Math.max(Math.max(Math.max(Math.max(a, b), c), d), e);

        System.out.println(max - min <= k ? "Yay!" : ":(");
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        final Scanner scanner = new Scanner(System.in);
        final int a = scanner.nextInt();
        final int b = scanner.nextInt();
        final int c = scanner.nextInt();
        final int d = scanner.nextInt();
        final int e = scanner.nextInt();
        final int k = scanner.nextInt();

        final int min = Math.min(Math.min(Math.min(Math.min(a, b), c), d), e);
        final int max = Math.max(Math.max(Math.max(Math.max(a, b), c), d), e);

        System.out.println(max - min <= k ? "Yay!" : ":(");
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        final Scanner scanner = new Scanner(System.in);
        final int a = scanner.nextInt();
        final int b = scanner.nextInt();
        final int c = scanner.nextInt();
        final int d = scanner.nextInt();
        final int e = scanner.nextInt();
        final int k = scanner.nextInt();

        final int min = Math.min(Math.min(Math.min(Math.min(a, b), c), d), e);
        final int max = Math.max(Math.max(Math.max(Math.max(a, b), c), d), e);

        System.out.println(max - min <= k ? "Yay!" : ":(");
    }
}
