import java.io.CharArrayReader;
import java.lang.reflect.Array;
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> arr = new ArrayList<Integer>();
        for(int i=0;i<5;i++)arr.add(sc.nextInt());
        int k=sc.nextInt();
        Collections.sort(arr);
        if(arr.get(4)-arr.get(0)>k)System.out.println(":(");
        else System.out.println("Yay!");
    }
} import java.io.CharArrayReader; CharArrayReader java.io import java.lang.reflect.Array; Array java.lang.reflect import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> arr = new ArrayList<Integer>();
        for(int i=0;i<5;i++)arr.add(sc.nextInt());
        int k=sc.nextInt();
        Collections.sort(arr);
        if(arr.get(4)-arr.get(0)>k)System.out.println(":(");
        else System.out.println("Yay!");
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> arr = new ArrayList<Integer>();
        for(int i=0;i<5;i++)arr.add(sc.nextInt());
        int k=sc.nextInt();
        Collections.sort(arr);
        if(arr.get(4)-arr.get(0)>k)System.out.println(":(");
        else System.out.println("Yay!");
    } main {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> arr = new ArrayList<Integer>();
        for(int i=0;i<5;i++)arr.add(sc.nextInt());
        int k=sc.nextInt();
        Collections.sort(arr);
        if(arr.get(4)-arr.get(0)>k)System.out.println(":(");
        else System.out.println("Yay!");
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) ArrayList<Integer> arr = new ArrayList<Integer>(); arr new ArrayList<Integer>() for(int i=0;i<5;i++)arr.add(sc.nextInt()); int i=0; int i=0; i 0 i<5 i 5 i++ i++ i arr.add(sc.nextInt()); arr.add(sc.nextInt()) arr.add arr sc.nextInt() sc.nextInt sc int k=sc.nextInt(); k sc.nextInt() sc.nextInt sc Collections.sort(arr) Collections.sort Collections arr if(arr.get(4)-arr.get(0)>k)System.out.println(":(");
        else System.out.println("Yay!"); arr.get(4)-arr.get(0)>k arr.get(4)-arr.get(0) arr.get(4) arr.get arr 4 arr.get(0) arr.get arr 0 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);
        ArrayList<Integer> arr = new ArrayList<Integer>();
        for(int i=0;i<5;i++)arr.add(sc.nextInt());
        int k=sc.nextInt();
        Collections.sort(arr);
        if(arr.get(4)-arr.get(0)>k)System.out.println(":(");
        else System.out.println("Yay!");
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> arr = new ArrayList<Integer>();
        for(int i=0;i<5;i++)arr.add(sc.nextInt());
        int k=sc.nextInt();
        Collections.sort(arr);
        if(arr.get(4)-arr.get(0)>k)System.out.println(":(");
        else System.out.println("Yay!");
    }
} Main
import java.io.CharArrayReader;
import java.lang.reflect.Array;
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> arr = new ArrayList<Integer>();
        for(int i=0;i<5;i++)arr.add(sc.nextInt());
        int k=sc.nextInt();
        Collections.sort(arr);
        if(arr.get(4)-arr.get(0)>k)System.out.println(":(");
        else System.out.println("Yay!");
    }
}
