import java.io.*;
import java.util.Arrays;

public class Main {
    private static int[] pos = new int[5];
    private static int k;

    private static String solver() {
        int min = Arrays.stream(pos).min().getAsInt();
        int max = Arrays.stream(pos).max().getAsInt();
        if(k >= max - min){
            return "Yay!";
        }else{
            return ":(";
        }

    }


    public static void main(String[] args) {

        InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(is);

        try {
            for(int i=0; i<5; i++) {
                String[] inputArray = br.readLine().split(" ");
                pos[i] = Integer.parseInt(inputArray[0]);
            }
            String[] inputArray = br.readLine().split(" ");
            k = Integer.parseInt(inputArray[0]);
        } catch (Exception e) {
            e.printStackTrace();
        }

        System.out.println(solver());

    }
} import java.io.*; io.* java import java.util.Arrays; Arrays java.util public class Main {
    private static int[] pos = new int[5];
    private static int k;

    private static String solver() {
        int min = Arrays.stream(pos).min().getAsInt();
        int max = Arrays.stream(pos).max().getAsInt();
        if(k >= max - min){
            return "Yay!";
        }else{
            return ":(";
        }

    }


    public static void main(String[] args) {

        InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(is);

        try {
            for(int i=0; i<5; i++) {
                String[] inputArray = br.readLine().split(" ");
                pos[i] = Integer.parseInt(inputArray[0]);
            }
            String[] inputArray = br.readLine().split(" ");
            k = Integer.parseInt(inputArray[0]);
        } catch (Exception e) {
            e.printStackTrace();
        }

        System.out.println(solver());

    }
} Main private static int[] pos = new int[5]; pos new int[5] 5 private static int k; k private static String solver() {
        int min = Arrays.stream(pos).min().getAsInt();
        int max = Arrays.stream(pos).max().getAsInt();
        if(k >= max - min){
            return "Yay!";
        }else{
            return ":(";
        }

    } solver {
        int min = Arrays.stream(pos).min().getAsInt();
        int max = Arrays.stream(pos).max().getAsInt();
        if(k >= max - min){
            return "Yay!";
        }else{
            return ":(";
        }

    } int min = Arrays.stream(pos).min().getAsInt(); min Arrays.stream(pos).min().getAsInt() Arrays.stream(pos).min().getAsInt Arrays.stream(pos).min() Arrays.stream(pos).min Arrays.stream(pos) Arrays.stream Arrays pos int max = Arrays.stream(pos).max().getAsInt(); max Arrays.stream(pos).max().getAsInt() Arrays.stream(pos).max().getAsInt Arrays.stream(pos).max() Arrays.stream(pos).max Arrays.stream(pos) Arrays.stream Arrays pos if(k >= max - min){
            return "Yay!";
        }else{
            return ":(";
        } k >= max - min k max - min max min {
            return "Yay!";
        } return "Yay!"; "Yay!" {
            return ":(";
        } return ":("; ":(" public static void main(String[] args) {

        InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(is);

        try {
            for(int i=0; i<5; i++) {
                String[] inputArray = br.readLine().split(" ");
                pos[i] = Integer.parseInt(inputArray[0]);
            }
            String[] inputArray = br.readLine().split(" ");
            k = Integer.parseInt(inputArray[0]);
        } catch (Exception e) {
            e.printStackTrace();
        }

        System.out.println(solver());

    } main {

        InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(is);

        try {
            for(int i=0; i<5; i++) {
                String[] inputArray = br.readLine().split(" ");
                pos[i] = Integer.parseInt(inputArray[0]);
            }
            String[] inputArray = br.readLine().split(" ");
            k = Integer.parseInt(inputArray[0]);
        } catch (Exception e) {
            e.printStackTrace();
        }

        System.out.println(solver());

    } InputStreamReader is = new InputStreamReader(System.in); is new InputStreamReader(System.in) BufferedReader br = new BufferedReader(is); br new BufferedReader(is) try {
            for(int i=0; i<5; i++) {
                String[] inputArray = br.readLine().split(" ");
                pos[i] = Integer.parseInt(inputArray[0]);
            }
            String[] inputArray = br.readLine().split(" ");
            k = Integer.parseInt(inputArray[0]);
        } catch (Exception e) {
            e.printStackTrace();
        } catch (Exception e) {
            e.printStackTrace();
        } Exception e {
            e.printStackTrace();
        } e.printStackTrace() e.printStackTrace e {
            for(int i=0; i<5; i++) {
                String[] inputArray = br.readLine().split(" ");
                pos[i] = Integer.parseInt(inputArray[0]);
            }
            String[] inputArray = br.readLine().split(" ");
            k = Integer.parseInt(inputArray[0]);
        } for(int i=0; i<5; i++) {
                String[] inputArray = br.readLine().split(" ");
                pos[i] = Integer.parseInt(inputArray[0]);
            } int i=0; int i=0; i 0 i<5 i 5 i++ i++ i {
                String[] inputArray = br.readLine().split(" ");
                pos[i] = Integer.parseInt(inputArray[0]);
            } {
                String[] inputArray = br.readLine().split(" ");
                pos[i] = Integer.parseInt(inputArray[0]);
            } String[] inputArray = br.readLine().split(" "); inputArray br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " pos[i] = Integer.parseInt(inputArray[0]) pos[i] pos i Integer.parseInt(inputArray[0]) Integer.parseInt Integer inputArray[0] inputArray 0 String[] inputArray = br.readLine().split(" "); inputArray br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " k = Integer.parseInt(inputArray[0]) k Integer.parseInt(inputArray[0]) Integer.parseInt Integer inputArray[0] inputArray 0 System.out.println(solver()) System.out.println System.out System System.out solver() solver String[] args args public class Main {
    private static int[] pos = new int[5];
    private static int k;

    private static String solver() {
        int min = Arrays.stream(pos).min().getAsInt();
        int max = Arrays.stream(pos).max().getAsInt();
        if(k >= max - min){
            return "Yay!";
        }else{
            return ":(";
        }

    }


    public static void main(String[] args) {

        InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(is);

        try {
            for(int i=0; i<5; i++) {
                String[] inputArray = br.readLine().split(" ");
                pos[i] = Integer.parseInt(inputArray[0]);
            }
            String[] inputArray = br.readLine().split(" ");
            k = Integer.parseInt(inputArray[0]);
        } catch (Exception e) {
            e.printStackTrace();
        }

        System.out.println(solver());

    }
} public class Main {
    private static int[] pos = new int[5];
    private static int k;

    private static String solver() {
        int min = Arrays.stream(pos).min().getAsInt();
        int max = Arrays.stream(pos).max().getAsInt();
        if(k >= max - min){
            return "Yay!";
        }else{
            return ":(";
        }

    }


    public static void main(String[] args) {

        InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(is);

        try {
            for(int i=0; i<5; i++) {
                String[] inputArray = br.readLine().split(" ");
                pos[i] = Integer.parseInt(inputArray[0]);
            }
            String[] inputArray = br.readLine().split(" ");
            k = Integer.parseInt(inputArray[0]);
        } catch (Exception e) {
            e.printStackTrace();
        }

        System.out.println(solver());

    }
} Main
import java.io.*;
import java.util.Arrays;

public class Main {
    private static int[] pos = new int[5];
    private static int k;

    private static String solver() {
        int min = Arrays.stream(pos).min().getAsInt();
        int max = Arrays.stream(pos).max().getAsInt();
        if(k >= max - min){
            return "Yay!";
        }else{
            return ":(";
        }

    }


    public static void main(String[] args) {

        InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(is);

        try {
            for(int i=0; i<5; i++) {
                String[] inputArray = br.readLine().split(" ");
                pos[i] = Integer.parseInt(inputArray[0]);
            }
            String[] inputArray = br.readLine().split(" ");
            k = Integer.parseInt(inputArray[0]);
        } catch (Exception e) {
            e.printStackTrace();
        }

        System.out.println(solver());

    }
}