import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int max=0;
        int min=100000;
        for(int i=0;i<5;i++) { 
            int x = sc.nextInt(); 
            max=Math.max(max, x);
            min=Math.min(min, x);
        }
        int k=sc.nextInt();
        if(max-min>k){
        System.out.println(":(");
        }
        else{
            System.out.println("Yay!");
        }
    }  
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int max=0;
        int min=100000;
        for(int i=0;i<5;i++) { 
            int x = sc.nextInt(); 
            max=Math.max(max, x);
            min=Math.min(min, x);
        }
        int k=sc.nextInt();
        if(max-min>k){
        System.out.println(":(");
        }
        else{
            System.out.println("Yay!");
        }
    }  
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int max=0;
        int min=100000;
        for(int i=0;i<5;i++) { 
            int x = sc.nextInt(); 
            max=Math.max(max, x);
            min=Math.min(min, x);
        }
        int k=sc.nextInt();
        if(max-min>k){
        System.out.println(":(");
        }
        else{
            System.out.println("Yay!");
        }
    } main {
        Scanner sc = new Scanner(System.in);
        int max=0;
        int min=100000;
        for(int i=0;i<5;i++) { 
            int x = sc.nextInt(); 
            max=Math.max(max, x);
            min=Math.min(min, x);
        }
        int k=sc.nextInt();
        if(max-min>k){
        System.out.println(":(");
        }
        else{
            System.out.println("Yay!");
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int max=0; max 0 int min=100000; min 100000 for(int i=0;i<5;i++) { 
            int x = sc.nextInt(); 
            max=Math.max(max, x);
            min=Math.min(min, x);
        } int i=0; int i=0; i 0 i<5 i 5 i++ i++ i { 
            int x = sc.nextInt(); 
            max=Math.max(max, x);
            min=Math.min(min, x);
        } { 
            int x = sc.nextInt(); 
            max=Math.max(max, x);
            min=Math.min(min, x);
        } int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc max=Math.max(max, x) max Math.max(max, x) Math.max Math max x min=Math.min(min, x) min Math.min(min, x) Math.min Math min x int k=sc.nextInt(); k sc.nextInt() sc.nextInt sc if(max-min>k){
        System.out.println(":(");
        }
        else{
            System.out.println("Yay!");
        } max-min>k max-min max min 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) {
        Scanner sc = new Scanner(System.in);
        int max=0;
        int min=100000;
        for(int i=0;i<5;i++) { 
            int x = sc.nextInt(); 
            max=Math.max(max, x);
            min=Math.min(min, x);
        }
        int k=sc.nextInt();
        if(max-min>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 max=0;
        int min=100000;
        for(int i=0;i<5;i++) { 
            int x = sc.nextInt(); 
            max=Math.max(max, x);
            min=Math.min(min, x);
        }
        int k=sc.nextInt();
        if(max-min>k){
        System.out.println(":(");
        }
        else{
            System.out.println("Yay!");
        }
    }  
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int max=0;
        int min=100000;
        for(int i=0;i<5;i++) { 
            int x = sc.nextInt(); 
            max=Math.max(max, x);
            min=Math.min(min, x);
        }
        int k=sc.nextInt();
        if(max-min>k){
        System.out.println(":(");
        }
        else{
            System.out.println("Yay!");
        }
    }  
}
