import java.util.Scanner;

public class Main {
    public static void main(String args[]) {
        Scanner in = new Scanner(System.in);
        int min = 124;
        int max = -1;

        for (int i = 0; i < 5; i++) {
            int n = in.nextInt();
            if (n < min)
                min = n;
            if(n > max)
                max = n;
        }
        int k = in.nextInt();
        System.out.println((max - min <= k) ? "Yay!" : ":(");
        in.close();
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String args[]) {
        Scanner in = new Scanner(System.in);
        int min = 124;
        int max = -1;

        for (int i = 0; i < 5; i++) {
            int n = in.nextInt();
            if (n < min)
                min = n;
            if(n > max)
                max = n;
        }
        int k = in.nextInt();
        System.out.println((max - min <= k) ? "Yay!" : ":(");
        in.close();
    }
} Main public static void main(String args[]) {
        Scanner in = new Scanner(System.in);
        int min = 124;
        int max = -1;

        for (int i = 0; i < 5; i++) {
            int n = in.nextInt();
            if (n < min)
                min = n;
            if(n > max)
                max = n;
        }
        int k = in.nextInt();
        System.out.println((max - min <= k) ? "Yay!" : ":(");
        in.close();
    } main {
        Scanner in = new Scanner(System.in);
        int min = 124;
        int max = -1;

        for (int i = 0; i < 5; i++) {
            int n = in.nextInt();
            if (n < min)
                min = n;
            if(n > max)
                max = n;
        }
        int k = in.nextInt();
        System.out.println((max - min <= k) ? "Yay!" : ":(");
        in.close();
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) int min = 124; min 124 int max = -1; max -1 1 for (int i = 0; i < 5; i++) {
            int n = in.nextInt();
            if (n < min)
                min = n;
            if(n > max)
                max = n;
        } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
            int n = in.nextInt();
            if (n < min)
                min = n;
            if(n > max)
                max = n;
        } {
            int n = in.nextInt();
            if (n < min)
                min = n;
            if(n > max)
                max = n;
        } int n = in.nextInt(); n in.nextInt() in.nextInt in if (n < min)
                min = n; n < min n min min = n min n if(n > max)
                max = n; n > max n max max = n max n int k = in.nextInt(); k in.nextInt() in.nextInt in 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!" ":(" in.close() in.close in String args[] args public class Main {
    public static void main(String args[]) {
        Scanner in = new Scanner(System.in);
        int min = 124;
        int max = -1;

        for (int i = 0; i < 5; i++) {
            int n = in.nextInt();
            if (n < min)
                min = n;
            if(n > max)
                max = n;
        }
        int k = in.nextInt();
        System.out.println((max - min <= k) ? "Yay!" : ":(");
        in.close();
    }
} public class Main {
    public static void main(String args[]) {
        Scanner in = new Scanner(System.in);
        int min = 124;
        int max = -1;

        for (int i = 0; i < 5; i++) {
            int n = in.nextInt();
            if (n < min)
                min = n;
            if(n > max)
                max = n;
        }
        int k = in.nextInt();
        System.out.println((max - min <= k) ? "Yay!" : ":(");
        in.close();
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String args[]) {
        Scanner in = new Scanner(System.in);
        int min = 124;
        int max = -1;

        for (int i = 0; i < 5; i++) {
            int n = in.nextInt();
            if (n < min)
                min = n;
            if(n > max)
                max = n;
        }
        int k = in.nextInt();
        System.out.println((max - min <= k) ? "Yay!" : ":(");
        in.close();
    }
}