import java.util.ArrayList;
import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        ArrayList<Integer> valList = new ArrayList<>();
        for (int i = 0; i < 5; i++) {
            valList.add(scanner.nextInt());
        }
        int k = scanner.nextInt();
        Integer val = valList.get(0);
        for (int i = 1; i < valList.size(); i++) {
            if (Math.abs(val - valList.get(i)) > k) {
                System.out.println(":(");
                System.exit(0);
            }
        }
        System.out.println("Yay!");
    }
} import java.util.ArrayList; ArrayList java.util import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        ArrayList<Integer> valList = new ArrayList<>();
        for (int i = 0; i < 5; i++) {
            valList.add(scanner.nextInt());
        }
        int k = scanner.nextInt();
        Integer val = valList.get(0);
        for (int i = 1; i < valList.size(); i++) {
            if (Math.abs(val - valList.get(i)) > k) {
                System.out.println(":(");
                System.exit(0);
            }
        }
        System.out.println("Yay!");
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        ArrayList<Integer> valList = new ArrayList<>();
        for (int i = 0; i < 5; i++) {
            valList.add(scanner.nextInt());
        }
        int k = scanner.nextInt();
        Integer val = valList.get(0);
        for (int i = 1; i < valList.size(); i++) {
            if (Math.abs(val - valList.get(i)) > k) {
                System.out.println(":(");
                System.exit(0);
            }
        }
        System.out.println("Yay!");
    } main {
        Scanner scanner = new Scanner(System.in);
        ArrayList<Integer> valList = new ArrayList<>();
        for (int i = 0; i < 5; i++) {
            valList.add(scanner.nextInt());
        }
        int k = scanner.nextInt();
        Integer val = valList.get(0);
        for (int i = 1; i < valList.size(); i++) {
            if (Math.abs(val - valList.get(i)) > k) {
                System.out.println(":(");
                System.exit(0);
            }
        }
        System.out.println("Yay!");
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) ArrayList<Integer> valList = new ArrayList<>(); valList new ArrayList<>() for (int i = 0; i < 5; i++) {
            valList.add(scanner.nextInt());
        } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
            valList.add(scanner.nextInt());
        } {
            valList.add(scanner.nextInt());
        } valList.add(scanner.nextInt()) valList.add valList scanner.nextInt() scanner.nextInt scanner int k = scanner.nextInt(); k scanner.nextInt() scanner.nextInt scanner Integer val = valList.get(0); val valList.get(0) valList.get valList 0 for (int i = 1; i < valList.size(); i++) {
            if (Math.abs(val - valList.get(i)) > k) {
                System.out.println(":(");
                System.exit(0);
            }
        } int i = 1; int i = 1; i 1 i < valList.size() i valList.size() valList.size valList i++ i++ i {
            if (Math.abs(val - valList.get(i)) > k) {
                System.out.println(":(");
                System.exit(0);
            }
        } {
            if (Math.abs(val - valList.get(i)) > k) {
                System.out.println(":(");
                System.exit(0);
            }
        } if (Math.abs(val - valList.get(i)) > k) {
                System.out.println(":(");
                System.exit(0);
            } Math.abs(val - valList.get(i)) > k Math.abs(val - valList.get(i)) Math.abs Math val - valList.get(i) val valList.get(i) valList.get valList i k {
                System.out.println(":(");
                System.exit(0);
            } System.out.println(":(") System.out.println System.out System System.out ":(" System.exit(0) System.exit System 0 System.out.println("Yay!") System.out.println System.out System System.out "Yay!" String[] args args
import java.util.ArrayList;
import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        ArrayList<Integer> valList = new ArrayList<>();
        for (int i = 0; i < 5; i++) {
            valList.add(scanner.nextInt());
        }
        int k = scanner.nextInt();
        Integer val = valList.get(0);
        for (int i = 1; i < valList.size(); i++) {
            if (Math.abs(val - valList.get(i)) > k) {
                System.out.println(":(");
                System.exit(0);
            }
        }
        System.out.println("Yay!");
    }
}
