import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.Arrays;

public class Main {

    public static void main(String[] args) {

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

        String strN[] = new String[6];

        PrintWriter out = new PrintWriter(System.out);
        try {

        	for (int i=0 ; i<6 ; i++) {
        		strN[i] = br.readLine();
        	}

            boolean bResult = true;

        	int distD = Integer.parseInt(strN[5]);

        	int intN[] = new int[5];

        	for (int i=0 ; i<4 ; i++) {
        		intN[i] = Integer.parseInt(strN[i]);
        	}

        	Arrays.sort(intN);
        	int dist1 = Integer.parseInt(strN[0]);
        	int dist2 = Integer.parseInt(strN[4]);

        	if (dist2 - dist1 > distD) {
        		bResult = false;
        	}

        	if (bResult)
        		System.out.println("Yay!");
        	else
        		System.out.println(":(");


            out.flush();


        } catch (IOException e) {

        }


    }

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.PrintWriter; PrintWriter java.io import java.util.Arrays; Arrays java.util public class Main {

    public static void main(String[] args) {

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

        String strN[] = new String[6];

        PrintWriter out = new PrintWriter(System.out);
        try {

        	for (int i=0 ; i<6 ; i++) {
        		strN[i] = br.readLine();
        	}

            boolean bResult = true;

        	int distD = Integer.parseInt(strN[5]);

        	int intN[] = new int[5];

        	for (int i=0 ; i<4 ; i++) {
        		intN[i] = Integer.parseInt(strN[i]);
        	}

        	Arrays.sort(intN);
        	int dist1 = Integer.parseInt(strN[0]);
        	int dist2 = Integer.parseInt(strN[4]);

        	if (dist2 - dist1 > distD) {
        		bResult = false;
        	}

        	if (bResult)
        		System.out.println("Yay!");
        	else
        		System.out.println(":(");


            out.flush();


        } catch (IOException e) {

        }


    }

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

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

        String strN[] = new String[6];

        PrintWriter out = new PrintWriter(System.out);
        try {

        	for (int i=0 ; i<6 ; i++) {
        		strN[i] = br.readLine();
        	}

            boolean bResult = true;

        	int distD = Integer.parseInt(strN[5]);

        	int intN[] = new int[5];

        	for (int i=0 ; i<4 ; i++) {
        		intN[i] = Integer.parseInt(strN[i]);
        	}

        	Arrays.sort(intN);
        	int dist1 = Integer.parseInt(strN[0]);
        	int dist2 = Integer.parseInt(strN[4]);

        	if (dist2 - dist1 > distD) {
        		bResult = false;
        	}

        	if (bResult)
        		System.out.println("Yay!");
        	else
        		System.out.println(":(");


            out.flush();


        } catch (IOException e) {

        }


    } main {

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

        String strN[] = new String[6];

        PrintWriter out = new PrintWriter(System.out);
        try {

        	for (int i=0 ; i<6 ; i++) {
        		strN[i] = br.readLine();
        	}

            boolean bResult = true;

        	int distD = Integer.parseInt(strN[5]);

        	int intN[] = new int[5];

        	for (int i=0 ; i<4 ; i++) {
        		intN[i] = Integer.parseInt(strN[i]);
        	}

        	Arrays.sort(intN);
        	int dist1 = Integer.parseInt(strN[0]);
        	int dist2 = Integer.parseInt(strN[4]);

        	if (dist2 - dist1 > distD) {
        		bResult = false;
        	}

        	if (bResult)
        		System.out.println("Yay!");
        	else
        		System.out.println(":(");


            out.flush();


        } catch (IOException e) {

        }


    } InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) String strN[] = new String[6]; strN new String[6] 6 PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) try {

        	for (int i=0 ; i<6 ; i++) {
        		strN[i] = br.readLine();
        	}

            boolean bResult = true;

        	int distD = Integer.parseInt(strN[5]);

        	int intN[] = new int[5];

        	for (int i=0 ; i<4 ; i++) {
        		intN[i] = Integer.parseInt(strN[i]);
        	}

        	Arrays.sort(intN);
        	int dist1 = Integer.parseInt(strN[0]);
        	int dist2 = Integer.parseInt(strN[4]);

        	if (dist2 - dist1 > distD) {
        		bResult = false;
        	}

        	if (bResult)
        		System.out.println("Yay!");
        	else
        		System.out.println(":(");


            out.flush();


        } catch (IOException e) {

        } catch (IOException e) {

        } IOException e {

        } {

        	for (int i=0 ; i<6 ; i++) {
        		strN[i] = br.readLine();
        	}

            boolean bResult = true;

        	int distD = Integer.parseInt(strN[5]);

        	int intN[] = new int[5];

        	for (int i=0 ; i<4 ; i++) {
        		intN[i] = Integer.parseInt(strN[i]);
        	}

        	Arrays.sort(intN);
        	int dist1 = Integer.parseInt(strN[0]);
        	int dist2 = Integer.parseInt(strN[4]);

        	if (dist2 - dist1 > distD) {
        		bResult = false;
        	}

        	if (bResult)
        		System.out.println("Yay!");
        	else
        		System.out.println(":(");


            out.flush();


        } for (int i=0 ; i<6 ; i++) {
        		strN[i] = br.readLine();
        	} int i=0 ; int i=0 ; i 0 i<6 i 6 i++ i++ i {
        		strN[i] = br.readLine();
        	} {
        		strN[i] = br.readLine();
        	} strN[i] = br.readLine() strN[i] strN i br.readLine() br.readLine br boolean bResult = true; bResult true int distD = Integer.parseInt(strN[5]); distD Integer.parseInt(strN[5]) Integer.parseInt Integer strN[5] strN 5 int intN[] = new int[5]; intN new int[5] 5 for (int i=0 ; i<4 ; i++) {
        		intN[i] = Integer.parseInt(strN[i]);
        	} int i=0 ; int i=0 ; i 0 i<4 i 4 i++ i++ i {
        		intN[i] = Integer.parseInt(strN[i]);
        	} {
        		intN[i] = Integer.parseInt(strN[i]);
        	} intN[i] = Integer.parseInt(strN[i]) intN[i] intN i Integer.parseInt(strN[i]) Integer.parseInt Integer strN[i] strN i Arrays.sort(intN) Arrays.sort Arrays intN int dist1 = Integer.parseInt(strN[0]); dist1 Integer.parseInt(strN[0]) Integer.parseInt Integer strN[0] strN 0 int dist2 = Integer.parseInt(strN[4]); dist2 Integer.parseInt(strN[4]) Integer.parseInt Integer strN[4] strN 4 if (dist2 - dist1 > distD) {
        		bResult = false;
        	} dist2 - dist1 > distD dist2 - dist1 dist2 dist1 distD {
        		bResult = false;
        	} bResult = false bResult false if (bResult)
        		System.out.println("Yay!");
        	else
        		System.out.println(":("); bResult System.out.println("Yay!") System.out.println System.out System System.out "Yay!" System.out.println(":(") System.out.println System.out System System.out ":(" out.flush() out.flush out String[] args args public class Main {

    public static void main(String[] args) {

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

        String strN[] = new String[6];

        PrintWriter out = new PrintWriter(System.out);
        try {

        	for (int i=0 ; i<6 ; i++) {
        		strN[i] = br.readLine();
        	}

            boolean bResult = true;

        	int distD = Integer.parseInt(strN[5]);

        	int intN[] = new int[5];

        	for (int i=0 ; i<4 ; i++) {
        		intN[i] = Integer.parseInt(strN[i]);
        	}

        	Arrays.sort(intN);
        	int dist1 = Integer.parseInt(strN[0]);
        	int dist2 = Integer.parseInt(strN[4]);

        	if (dist2 - dist1 > distD) {
        		bResult = false;
        	}

        	if (bResult)
        		System.out.println("Yay!");
        	else
        		System.out.println(":(");


            out.flush();


        } catch (IOException e) {

        }


    }

} public class Main {

    public static void main(String[] args) {

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

        String strN[] = new String[6];

        PrintWriter out = new PrintWriter(System.out);
        try {

        	for (int i=0 ; i<6 ; i++) {
        		strN[i] = br.readLine();
        	}

            boolean bResult = true;

        	int distD = Integer.parseInt(strN[5]);

        	int intN[] = new int[5];

        	for (int i=0 ; i<4 ; i++) {
        		intN[i] = Integer.parseInt(strN[i]);
        	}

        	Arrays.sort(intN);
        	int dist1 = Integer.parseInt(strN[0]);
        	int dist2 = Integer.parseInt(strN[4]);

        	if (dist2 - dist1 > distD) {
        		bResult = false;
        	}

        	if (bResult)
        		System.out.println("Yay!");
        	else
        		System.out.println(":(");


            out.flush();


        } catch (IOException e) {

        }


    }

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.Arrays;

public class Main {

    public static void main(String[] args) {

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

        String strN[] = new String[6];

        PrintWriter out = new PrintWriter(System.out);
        try {

        	for (int i=0 ; i<6 ; i++) {
        		strN[i] = br.readLine();
        	}

            boolean bResult = true;

        	int distD = Integer.parseInt(strN[5]);

        	int intN[] = new int[5];

        	for (int i=0 ; i<4 ; i++) {
        		intN[i] = Integer.parseInt(strN[i]);
        	}

        	Arrays.sort(intN);
        	int dist1 = Integer.parseInt(strN[0]);
        	int dist2 = Integer.parseInt(strN[4]);

        	if (dist2 - dist1 > distD) {
        		bResult = false;
        	}

        	if (bResult)
        		System.out.println("Yay!");
        	else
        		System.out.println(":(");


            out.flush();


        } catch (IOException e) {

        }


    }

}