
import java.io.*;
import java.util.*;

public class Main {

	public static void main(String[] args) throws IOException {

        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> dis = new ArrayList<Integer>();
        String judge;
        for(int i=0;i<5;i++) {
        	dis.add(Integer.parseInt(sc.next()));
        }
        int k = Integer.parseInt(sc.next());
        int max = Collections.max(dis);
        int min = Collections.min(dis);
        int flag = max - min;
        if(flag > k) {
        	System.out.println(":(");
        }else {
        	System.out.println("Yay!");
        }
	}
} import java.io.*; io.* java import java.util.*; util.* java public class Main {

	public static void main(String[] args) throws IOException {

        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> dis = new ArrayList<Integer>();
        String judge;
        for(int i=0;i<5;i++) {
        	dis.add(Integer.parseInt(sc.next()));
        }
        int k = Integer.parseInt(sc.next());
        int max = Collections.max(dis);
        int min = Collections.min(dis);
        int flag = max - min;
        if(flag > k) {
        	System.out.println(":(");
        }else {
        	System.out.println("Yay!");
        }
	}
} Main public static void main(String[] args) throws IOException {

        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> dis = new ArrayList<Integer>();
        String judge;
        for(int i=0;i<5;i++) {
        	dis.add(Integer.parseInt(sc.next()));
        }
        int k = Integer.parseInt(sc.next());
        int max = Collections.max(dis);
        int min = Collections.min(dis);
        int flag = max - min;
        if(flag > k) {
        	System.out.println(":(");
        }else {
        	System.out.println("Yay!");
        }
	} main {

        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> dis = new ArrayList<Integer>();
        String judge;
        for(int i=0;i<5;i++) {
        	dis.add(Integer.parseInt(sc.next()));
        }
        int k = Integer.parseInt(sc.next());
        int max = Collections.max(dis);
        int min = Collections.min(dis);
        int flag = max - min;
        if(flag > k) {
        	System.out.println(":(");
        }else {
        	System.out.println("Yay!");
        }
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) ArrayList<Integer> dis = new ArrayList<Integer>(); dis new ArrayList<Integer>() String judge; judge for(int i=0;i<5;i++) {
        	dis.add(Integer.parseInt(sc.next()));
        } int i=0; int i=0; i 0 i<5 i 5 i++ i++ i {
        	dis.add(Integer.parseInt(sc.next()));
        } {
        	dis.add(Integer.parseInt(sc.next()));
        } dis.add(Integer.parseInt(sc.next())) dis.add dis Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int k = Integer.parseInt(sc.next()); k Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int max = Collections.max(dis); max Collections.max(dis) Collections.max Collections dis int min = Collections.min(dis); min Collections.min(dis) Collections.min Collections dis int flag = max - min; flag max - min max min if(flag > k) {
        	System.out.println(":(");
        }else {
        	System.out.println("Yay!");
        } flag > k flag k {
        	System.out.println(":(");
        } System.out.println(":(") System.out.println System.out System System.out ":(" {
        	System.out.println("Yay!");
        } 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) throws IOException {

        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> dis = new ArrayList<Integer>();
        String judge;
        for(int i=0;i<5;i++) {
        	dis.add(Integer.parseInt(sc.next()));
        }
        int k = Integer.parseInt(sc.next());
        int max = Collections.max(dis);
        int min = Collections.min(dis);
        int flag = max - min;
        if(flag > k) {
        	System.out.println(":(");
        }else {
        	System.out.println("Yay!");
        }
	}
} public class Main {

	public static void main(String[] args) throws IOException {

        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> dis = new ArrayList<Integer>();
        String judge;
        for(int i=0;i<5;i++) {
        	dis.add(Integer.parseInt(sc.next()));
        }
        int k = Integer.parseInt(sc.next());
        int max = Collections.max(dis);
        int min = Collections.min(dis);
        int flag = max - min;
        if(flag > k) {
        	System.out.println(":(");
        }else {
        	System.out.println("Yay!");
        }
	}
} Main

import java.io.*;
import java.util.*;

public class Main {

	public static void main(String[] args) throws IOException {

        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> dis = new ArrayList<Integer>();
        String judge;
        for(int i=0;i<5;i++) {
        	dis.add(Integer.parseInt(sc.next()));
        }
        int k = Integer.parseInt(sc.next());
        int max = Collections.max(dis);
        int min = Collections.min(dis);
        int flag = max - min;
        if(flag > k) {
        	System.out.println(":(");
        }else {
        	System.out.println("Yay!");
        }
	}
}
