import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] pos = new int[5];
        int k;
        String result;

        for (int i = 0; i < 5; i++)
            pos[i] = sc.nextInt();

        k = sc.nextInt();

        if (pos[4] - pos[0] <= k)
            result = "Yay!";
        else
            result = ":(";

        System.out.println(result);
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] pos = new int[5];
        int k;
        String result;

        for (int i = 0; i < 5; i++)
            pos[i] = sc.nextInt();

        k = sc.nextInt();

        if (pos[4] - pos[0] <= k)
            result = "Yay!";
        else
            result = ":(";

        System.out.println(result);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] pos = new int[5];
        int k;
        String result;

        for (int i = 0; i < 5; i++)
            pos[i] = sc.nextInt();

        k = sc.nextInt();

        if (pos[4] - pos[0] <= k)
            result = "Yay!";
        else
            result = ":(";

        System.out.println(result);
    } main {
        Scanner sc = new Scanner(System.in);
        int[] pos = new int[5];
        int k;
        String result;

        for (int i = 0; i < 5; i++)
            pos[i] = sc.nextInt();

        k = sc.nextInt();

        if (pos[4] - pos[0] <= k)
            result = "Yay!";
        else
            result = ":(";

        System.out.println(result);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] pos = new int[5]; pos new int[5] 5 int k; k String result; result for (int i = 0; i < 5; i++)
            pos[i] = sc.nextInt(); int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i pos[i] = sc.nextInt(); pos[i] = sc.nextInt() pos[i] pos i sc.nextInt() sc.nextInt sc k = sc.nextInt() k sc.nextInt() sc.nextInt sc if (pos[4] - pos[0] <= k)
            result = "Yay!";
        else
            result = ":("; pos[4] - pos[0] <= k pos[4] - pos[0] pos[4] pos 4 pos[0] pos 0 k result = "Yay!" result "Yay!" result = ":(" result ":(" System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] pos = new int[5];
        int k;
        String result;

        for (int i = 0; i < 5; i++)
            pos[i] = sc.nextInt();

        k = sc.nextInt();

        if (pos[4] - pos[0] <= k)
            result = "Yay!";
        else
            result = ":(";

        System.out.println(result);
    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] pos = new int[5];
        int k;
        String result;

        for (int i = 0; i < 5; i++)
            pos[i] = sc.nextInt();

        k = sc.nextInt();

        if (pos[4] - pos[0] <= k)
            result = "Yay!";
        else
            result = ":(";

        System.out.println(result);
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] pos = new int[5];
        int k;
        String result;

        for (int i = 0; i < 5; i++)
            pos[i] = sc.nextInt();

        k = sc.nextInt();

        if (pos[4] - pos[0] <= k)
            result = "Yay!";
        else
            result = ":(";

        System.out.println(result);
    }
}