import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        final Scanner sc = new Scanner(System.in);

        int[] antenna = new int[5];
        int min = 0, max = 0;
        for (int i = 0; i < antenna.length; i++) {
            antenna[i] = Integer.parseInt(sc.next());
            if (i == 0) {
                min = antenna[i];
                max = antenna[i];
            } else {
                min = Math.min(min, antenna[i]);
                max = Math.max(max, antenna[i]);
            }
        }
        int k = Integer.parseInt(sc.next());
        int diff = max - min;

        if (diff <= k) {
            System.out.print("Yay!");
        } else {
            System.out.print(":(");
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        final Scanner sc = new Scanner(System.in);

        int[] antenna = new int[5];
        int min = 0, max = 0;
        for (int i = 0; i < antenna.length; i++) {
            antenna[i] = Integer.parseInt(sc.next());
            if (i == 0) {
                min = antenna[i];
                max = antenna[i];
            } else {
                min = Math.min(min, antenna[i]);
                max = Math.max(max, antenna[i]);
            }
        }
        int k = Integer.parseInt(sc.next());
        int diff = max - min;

        if (diff <= k) {
            System.out.print("Yay!");
        } else {
            System.out.print(":(");
        }
    }
} Main public static void main(String[] args) {
        final Scanner sc = new Scanner(System.in);

        int[] antenna = new int[5];
        int min = 0, max = 0;
        for (int i = 0; i < antenna.length; i++) {
            antenna[i] = Integer.parseInt(sc.next());
            if (i == 0) {
                min = antenna[i];
                max = antenna[i];
            } else {
                min = Math.min(min, antenna[i]);
                max = Math.max(max, antenna[i]);
            }
        }
        int k = Integer.parseInt(sc.next());
        int diff = max - min;

        if (diff <= k) {
            System.out.print("Yay!");
        } else {
            System.out.print(":(");
        }
    } main {
        final Scanner sc = new Scanner(System.in);

        int[] antenna = new int[5];
        int min = 0, max = 0;
        for (int i = 0; i < antenna.length; i++) {
            antenna[i] = Integer.parseInt(sc.next());
            if (i == 0) {
                min = antenna[i];
                max = antenna[i];
            } else {
                min = Math.min(min, antenna[i]);
                max = Math.max(max, antenna[i]);
            }
        }
        int k = Integer.parseInt(sc.next());
        int diff = max - min;

        if (diff <= k) {
            System.out.print("Yay!");
        } else {
            System.out.print(":(");
        }
    } final Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] antenna = new int[5]; antenna new int[5] 5 int min = 0 min 0 max = 0; max 0 for (int i = 0; i < antenna.length; i++) {
            antenna[i] = Integer.parseInt(sc.next());
            if (i == 0) {
                min = antenna[i];
                max = antenna[i];
            } else {
                min = Math.min(min, antenna[i]);
                max = Math.max(max, antenna[i]);
            }
        } int i = 0; int i = 0; i 0 i < antenna.length i antenna.length antenna antenna.length i++ i++ i {
            antenna[i] = Integer.parseInt(sc.next());
            if (i == 0) {
                min = antenna[i];
                max = antenna[i];
            } else {
                min = Math.min(min, antenna[i]);
                max = Math.max(max, antenna[i]);
            }
        } {
            antenna[i] = Integer.parseInt(sc.next());
            if (i == 0) {
                min = antenna[i];
                max = antenna[i];
            } else {
                min = Math.min(min, antenna[i]);
                max = Math.max(max, antenna[i]);
            }
        } antenna[i] = Integer.parseInt(sc.next()) antenna[i] antenna i Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc if (i == 0) {
                min = antenna[i];
                max = antenna[i];
            } else {
                min = Math.min(min, antenna[i]);
                max = Math.max(max, antenna[i]);
            } i == 0 i 0 {
                min = antenna[i];
                max = antenna[i];
            } min = antenna[i] min antenna[i] antenna i max = antenna[i] max antenna[i] antenna i {
                min = Math.min(min, antenna[i]);
                max = Math.max(max, antenna[i]);
            } min = Math.min(min, antenna[i]) min Math.min(min, antenna[i]) Math.min Math min antenna[i] antenna i max = Math.max(max, antenna[i]) max Math.max(max, antenna[i]) Math.max Math max antenna[i] antenna i int k = Integer.parseInt(sc.next()); k Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int diff = max - min; diff max - min max min if (diff <= k) {
            System.out.print("Yay!");
        } else {
            System.out.print(":(");
        } diff <= k diff k {
            System.out.print("Yay!");
        } System.out.print("Yay!") System.out.print System.out System System.out "Yay!" {
            System.out.print(":(");
        } System.out.print(":(") System.out.print System.out System System.out ":(" String[] args args public class Main {
    public static void main(String[] args) {
        final Scanner sc = new Scanner(System.in);

        int[] antenna = new int[5];
        int min = 0, max = 0;
        for (int i = 0; i < antenna.length; i++) {
            antenna[i] = Integer.parseInt(sc.next());
            if (i == 0) {
                min = antenna[i];
                max = antenna[i];
            } else {
                min = Math.min(min, antenna[i]);
                max = Math.max(max, antenna[i]);
            }
        }
        int k = Integer.parseInt(sc.next());
        int diff = max - min;

        if (diff <= k) {
            System.out.print("Yay!");
        } else {
            System.out.print(":(");
        }
    }
} public class Main {
    public static void main(String[] args) {
        final Scanner sc = new Scanner(System.in);

        int[] antenna = new int[5];
        int min = 0, max = 0;
        for (int i = 0; i < antenna.length; i++) {
            antenna[i] = Integer.parseInt(sc.next());
            if (i == 0) {
                min = antenna[i];
                max = antenna[i];
            } else {
                min = Math.min(min, antenna[i]);
                max = Math.max(max, antenna[i]);
            }
        }
        int k = Integer.parseInt(sc.next());
        int diff = max - min;

        if (diff <= k) {
            System.out.print("Yay!");
        } else {
            System.out.print(":(");
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        final Scanner sc = new Scanner(System.in);

        int[] antenna = new int[5];
        int min = 0, max = 0;
        for (int i = 0; i < antenna.length; i++) {
            antenna[i] = Integer.parseInt(sc.next());
            if (i == 0) {
                min = antenna[i];
                max = antenna[i];
            } else {
                min = Math.min(min, antenna[i]);
                max = Math.max(max, antenna[i]);
            }
        }
        int k = Integer.parseInt(sc.next());
        int diff = max - min;

        if (diff <= k) {
            System.out.print("Yay!");
        } else {
            System.out.print(":(");
        }
    }
}