import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> List = new ArrayList<>();
        for (int i = 0; i < 5; i++) {
            int j = sc.nextInt();
            List.add(j);
        }
        int k = sc.nextInt();
        int num = 0;
        for (int i = 0; i < 4; i++) {
            for(int j=i+1;j<5;j++){
                if (List.get(j) - List.get(i) > k) num++;
            }
        }
        if (num == 0) System.out.println("Yay!");
        else System.out.println(":(");
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> List = new ArrayList<>();
        for (int i = 0; i < 5; i++) {
            int j = sc.nextInt();
            List.add(j);
        }
        int k = sc.nextInt();
        int num = 0;
        for (int i = 0; i < 4; i++) {
            for(int j=i+1;j<5;j++){
                if (List.get(j) - List.get(i) > k) num++;
            }
        }
        if (num == 0) System.out.println("Yay!");
        else System.out.println(":(");
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> List = new ArrayList<>();
        for (int i = 0; i < 5; i++) {
            int j = sc.nextInt();
            List.add(j);
        }
        int k = sc.nextInt();
        int num = 0;
        for (int i = 0; i < 4; i++) {
            for(int j=i+1;j<5;j++){
                if (List.get(j) - List.get(i) > k) num++;
            }
        }
        if (num == 0) System.out.println("Yay!");
        else System.out.println(":(");
    } main {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> List = new ArrayList<>();
        for (int i = 0; i < 5; i++) {
            int j = sc.nextInt();
            List.add(j);
        }
        int k = sc.nextInt();
        int num = 0;
        for (int i = 0; i < 4; i++) {
            for(int j=i+1;j<5;j++){
                if (List.get(j) - List.get(i) > k) num++;
            }
        }
        if (num == 0) System.out.println("Yay!");
        else System.out.println(":(");
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) ArrayList<Integer> List = new ArrayList<>(); List new ArrayList<>() for (int i = 0; i < 5; i++) {
            int j = sc.nextInt();
            List.add(j);
        } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
            int j = sc.nextInt();
            List.add(j);
        } {
            int j = sc.nextInt();
            List.add(j);
        } int j = sc.nextInt(); j sc.nextInt() sc.nextInt sc List.add(j) List.add List j int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc int num = 0; num 0 for (int i = 0; i < 4; i++) {
            for(int j=i+1;j<5;j++){
                if (List.get(j) - List.get(i) > k) num++;
            }
        } int i = 0; int i = 0; i 0 i < 4 i 4 i++ i++ i {
            for(int j=i+1;j<5;j++){
                if (List.get(j) - List.get(i) > k) num++;
            }
        } {
            for(int j=i+1;j<5;j++){
                if (List.get(j) - List.get(i) > k) num++;
            }
        } for(int j=i+1;j<5;j++){
                if (List.get(j) - List.get(i) > k) num++;
            } int j=i+1; int j=i+1; j i+1 i 1 j<5 j 5 j++ j++ j {
                if (List.get(j) - List.get(i) > k) num++;
            } {
                if (List.get(j) - List.get(i) > k) num++;
            } if (List.get(j) - List.get(i) > k) num++; List.get(j) - List.get(i) > k List.get(j) - List.get(i) List.get(j) List.get List j List.get(i) List.get List i k num++ num if (num == 0) System.out.println("Yay!");
        else System.out.println(":("); num == 0 num 0 System.out.println("Yay!") System.out.println System.out System System.out "Yay!" System.out.println(":(") System.out.println System.out System System.out ":(" String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> List = new ArrayList<>();
        for (int i = 0; i < 5; i++) {
            int j = sc.nextInt();
            List.add(j);
        }
        int k = sc.nextInt();
        int num = 0;
        for (int i = 0; i < 4; i++) {
            for(int j=i+1;j<5;j++){
                if (List.get(j) - List.get(i) > k) num++;
            }
        }
        if (num == 0) System.out.println("Yay!");
        else System.out.println(":(");
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> List = new ArrayList<>();
        for (int i = 0; i < 5; i++) {
            int j = sc.nextInt();
            List.add(j);
        }
        int k = sc.nextInt();
        int num = 0;
        for (int i = 0; i < 4; i++) {
            for(int j=i+1;j<5;j++){
                if (List.get(j) - List.get(i) > k) num++;
            }
        }
        if (num == 0) System.out.println("Yay!");
        else System.out.println(":(");
    }
} Main
import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> List = new ArrayList<>();
        for (int i = 0; i < 5; i++) {
            int j = sc.nextInt();
            List.add(j);
        }
        int k = sc.nextInt();
        int num = 0;
        for (int i = 0; i < 4; i++) {
            for(int j=i+1;j<5;j++){
                if (List.get(j) - List.get(i) > k) num++;
            }
        }
        if (num == 0) System.out.println("Yay!");
        else System.out.println(":(");
    }
}