
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt(), e = sc.nextInt(), k = sc.nextInt();

        if(Math.abs(a-b) > k)
            System.out.println(":(");
        else if(Math.abs(a-c) > k)
            System.out.println(":(");
        else if(Math.abs(a-d) > k)
            System.out.println(":(");
        else if(Math.abs(a-e) > k)
            System.out.println(":(");
        else if(Math.abs(b-c) > k)
            System.out.println(":(");
        else if(Math.abs(b-d) > k)
            System.out.println(":(");
        else if(Math.abs(b-e) > k)
            System.out.println(":(");
        else if(Math.abs(c-d) > k)
            System.out.println(":(");
        else if(Math.abs(c-e) > k)
            System.out.println(":(");
        else if(Math.abs(e-d) > k)
            System.out.println(":(");
        else
            System.out.println("Yay!");
    }


} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt(), e = sc.nextInt(), k = sc.nextInt();

        if(Math.abs(a-b) > k)
            System.out.println(":(");
        else if(Math.abs(a-c) > k)
            System.out.println(":(");
        else if(Math.abs(a-d) > k)
            System.out.println(":(");
        else if(Math.abs(a-e) > k)
            System.out.println(":(");
        else if(Math.abs(b-c) > k)
            System.out.println(":(");
        else if(Math.abs(b-d) > k)
            System.out.println(":(");
        else if(Math.abs(b-e) > k)
            System.out.println(":(");
        else if(Math.abs(c-d) > k)
            System.out.println(":(");
        else if(Math.abs(c-e) > k)
            System.out.println(":(");
        else if(Math.abs(e-d) > k)
            System.out.println(":(");
        else
            System.out.println("Yay!");
    }


} Main public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt(), e = sc.nextInt(), k = sc.nextInt();

        if(Math.abs(a-b) > k)
            System.out.println(":(");
        else if(Math.abs(a-c) > k)
            System.out.println(":(");
        else if(Math.abs(a-d) > k)
            System.out.println(":(");
        else if(Math.abs(a-e) > k)
            System.out.println(":(");
        else if(Math.abs(b-c) > k)
            System.out.println(":(");
        else if(Math.abs(b-d) > k)
            System.out.println(":(");
        else if(Math.abs(b-e) > k)
            System.out.println(":(");
        else if(Math.abs(c-d) > k)
            System.out.println(":(");
        else if(Math.abs(c-e) > k)
            System.out.println(":(");
        else if(Math.abs(e-d) > k)
            System.out.println(":(");
        else
            System.out.println("Yay!");
    } main {

        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt(), e = sc.nextInt(), k = sc.nextInt();

        if(Math.abs(a-b) > k)
            System.out.println(":(");
        else if(Math.abs(a-c) > k)
            System.out.println(":(");
        else if(Math.abs(a-d) > k)
            System.out.println(":(");
        else if(Math.abs(a-e) > k)
            System.out.println(":(");
        else if(Math.abs(b-c) > k)
            System.out.println(":(");
        else if(Math.abs(b-d) > k)
            System.out.println(":(");
        else if(Math.abs(b-e) > k)
            System.out.println(":(");
        else if(Math.abs(c-d) > k)
            System.out.println(":(");
        else if(Math.abs(c-e) > k)
            System.out.println(":(");
        else if(Math.abs(e-d) > k)
            System.out.println(":(");
        else
            System.out.println("Yay!");
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc c = sc.nextInt() c sc.nextInt() sc.nextInt sc d = sc.nextInt() d sc.nextInt() sc.nextInt sc e = sc.nextInt() e sc.nextInt() sc.nextInt sc k = sc.nextInt(); k sc.nextInt() sc.nextInt sc if(Math.abs(a-b) > k)
            System.out.println(":(");
        else if(Math.abs(a-c) > k)
            System.out.println(":(");
        else if(Math.abs(a-d) > k)
            System.out.println(":(");
        else if(Math.abs(a-e) > k)
            System.out.println(":(");
        else if(Math.abs(b-c) > k)
            System.out.println(":(");
        else if(Math.abs(b-d) > k)
            System.out.println(":(");
        else if(Math.abs(b-e) > k)
            System.out.println(":(");
        else if(Math.abs(c-d) > k)
            System.out.println(":(");
        else if(Math.abs(c-e) > k)
            System.out.println(":(");
        else if(Math.abs(e-d) > k)
            System.out.println(":(");
        else
            System.out.println("Yay!"); Math.abs(a-b) > k Math.abs(a-b) Math.abs Math a-b a b k System.out.println(":(") System.out.println System.out System System.out ":(" if(Math.abs(a-c) > k)
            System.out.println(":(");
        else if(Math.abs(a-d) > k)
            System.out.println(":(");
        else if(Math.abs(a-e) > k)
            System.out.println(":(");
        else if(Math.abs(b-c) > k)
            System.out.println(":(");
        else if(Math.abs(b-d) > k)
            System.out.println(":(");
        else if(Math.abs(b-e) > k)
            System.out.println(":(");
        else if(Math.abs(c-d) > k)
            System.out.println(":(");
        else if(Math.abs(c-e) > k)
            System.out.println(":(");
        else if(Math.abs(e-d) > k)
            System.out.println(":(");
        else
            System.out.println("Yay!"); Math.abs(a-c) > k Math.abs(a-c) Math.abs Math a-c a c k System.out.println(":(") System.out.println System.out System System.out ":(" if(Math.abs(a-d) > k)
            System.out.println(":(");
        else if(Math.abs(a-e) > k)
            System.out.println(":(");
        else if(Math.abs(b-c) > k)
            System.out.println(":(");
        else if(Math.abs(b-d) > k)
            System.out.println(":(");
        else if(Math.abs(b-e) > k)
            System.out.println(":(");
        else if(Math.abs(c-d) > k)
            System.out.println(":(");
        else if(Math.abs(c-e) > k)
            System.out.println(":(");
        else if(Math.abs(e-d) > k)
            System.out.println(":(");
        else
            System.out.println("Yay!"); Math.abs(a-d) > k Math.abs(a-d) Math.abs Math a-d a d k System.out.println(":(") System.out.println System.out System System.out ":(" if(Math.abs(a-e) > k)
            System.out.println(":(");
        else if(Math.abs(b-c) > k)
            System.out.println(":(");
        else if(Math.abs(b-d) > k)
            System.out.println(":(");
        else if(Math.abs(b-e) > k)
            System.out.println(":(");
        else if(Math.abs(c-d) > k)
            System.out.println(":(");
        else if(Math.abs(c-e) > k)
            System.out.println(":(");
        else if(Math.abs(e-d) > k)
            System.out.println(":(");
        else
            System.out.println("Yay!"); Math.abs(a-e) > k Math.abs(a-e) Math.abs Math a-e a e k System.out.println(":(") System.out.println System.out System System.out ":(" if(Math.abs(b-c) > k)
            System.out.println(":(");
        else if(Math.abs(b-d) > k)
            System.out.println(":(");
        else if(Math.abs(b-e) > k)
            System.out.println(":(");
        else if(Math.abs(c-d) > k)
            System.out.println(":(");
        else if(Math.abs(c-e) > k)
            System.out.println(":(");
        else if(Math.abs(e-d) > k)
            System.out.println(":(");
        else
            System.out.println("Yay!"); Math.abs(b-c) > k Math.abs(b-c) Math.abs Math b-c b c k System.out.println(":(") System.out.println System.out System System.out ":(" if(Math.abs(b-d) > k)
            System.out.println(":(");
        else if(Math.abs(b-e) > k)
            System.out.println(":(");
        else if(Math.abs(c-d) > k)
            System.out.println(":(");
        else if(Math.abs(c-e) > k)
            System.out.println(":(");
        else if(Math.abs(e-d) > k)
            System.out.println(":(");
        else
            System.out.println("Yay!"); Math.abs(b-d) > k Math.abs(b-d) Math.abs Math b-d b d k System.out.println(":(") System.out.println System.out System System.out ":(" if(Math.abs(b-e) > k)
            System.out.println(":(");
        else if(Math.abs(c-d) > k)
            System.out.println(":(");
        else if(Math.abs(c-e) > k)
            System.out.println(":(");
        else if(Math.abs(e-d) > k)
            System.out.println(":(");
        else
            System.out.println("Yay!"); Math.abs(b-e) > k Math.abs(b-e) Math.abs Math b-e b e k System.out.println(":(") System.out.println System.out System System.out ":(" if(Math.abs(c-d) > k)
            System.out.println(":(");
        else if(Math.abs(c-e) > k)
            System.out.println(":(");
        else if(Math.abs(e-d) > k)
            System.out.println(":(");
        else
            System.out.println("Yay!"); Math.abs(c-d) > k Math.abs(c-d) Math.abs Math c-d c d k System.out.println(":(") System.out.println System.out System System.out ":(" if(Math.abs(c-e) > k)
            System.out.println(":(");
        else if(Math.abs(e-d) > k)
            System.out.println(":(");
        else
            System.out.println("Yay!"); Math.abs(c-e) > k Math.abs(c-e) Math.abs Math c-e c e k System.out.println(":(") System.out.println System.out System System.out ":(" if(Math.abs(e-d) > k)
            System.out.println(":(");
        else
            System.out.println("Yay!"); Math.abs(e-d) > k Math.abs(e-d) Math.abs Math e-d e d k System.out.println(":(") System.out.println System.out System System.out ":(" System.out.println("Yay!") System.out.println System.out System System.out "Yay!" String[] args args public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt(), e = sc.nextInt(), k = sc.nextInt();

        if(Math.abs(a-b) > k)
            System.out.println(":(");
        else if(Math.abs(a-c) > k)
            System.out.println(":(");
        else if(Math.abs(a-d) > k)
            System.out.println(":(");
        else if(Math.abs(a-e) > k)
            System.out.println(":(");
        else if(Math.abs(b-c) > k)
            System.out.println(":(");
        else if(Math.abs(b-d) > k)
            System.out.println(":(");
        else if(Math.abs(b-e) > k)
            System.out.println(":(");
        else if(Math.abs(c-d) > k)
            System.out.println(":(");
        else if(Math.abs(c-e) > k)
            System.out.println(":(");
        else if(Math.abs(e-d) > k)
            System.out.println(":(");
        else
            System.out.println("Yay!");
    }


} public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt(), e = sc.nextInt(), k = sc.nextInt();

        if(Math.abs(a-b) > k)
            System.out.println(":(");
        else if(Math.abs(a-c) > k)
            System.out.println(":(");
        else if(Math.abs(a-d) > k)
            System.out.println(":(");
        else if(Math.abs(a-e) > k)
            System.out.println(":(");
        else if(Math.abs(b-c) > k)
            System.out.println(":(");
        else if(Math.abs(b-d) > k)
            System.out.println(":(");
        else if(Math.abs(b-e) > k)
            System.out.println(":(");
        else if(Math.abs(c-d) > k)
            System.out.println(":(");
        else if(Math.abs(c-e) > k)
            System.out.println(":(");
        else if(Math.abs(e-d) > k)
            System.out.println(":(");
        else
            System.out.println("Yay!");
    }


} Main

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt(), e = sc.nextInt(), k = sc.nextInt();

        if(Math.abs(a-b) > k)
            System.out.println(":(");
        else if(Math.abs(a-c) > k)
            System.out.println(":(");
        else if(Math.abs(a-d) > k)
            System.out.println(":(");
        else if(Math.abs(a-e) > k)
            System.out.println(":(");
        else if(Math.abs(b-c) > k)
            System.out.println(":(");
        else if(Math.abs(b-d) > k)
            System.out.println(":(");
        else if(Math.abs(b-e) > k)
            System.out.println(":(");
        else if(Math.abs(c-d) > k)
            System.out.println(":(");
        else if(Math.abs(c-e) > k)
            System.out.println(":(");
        else if(Math.abs(e-d) > k)
            System.out.println(":(");
        else
            System.out.println("Yay!");
    }


}
