
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[5];
        for(int i=0;i<5;i++){
            a[i] = sc.nextInt();
        }
        int k=sc.nextInt();

        for(int i=0;i<4;i++){
            for(int j=i+1;j<5;j++){
                if(Math.abs(a[i]-a[j])>k){
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[5];
        for(int i=0;i<5;i++){
            a[i] = sc.nextInt();
        }
        int k=sc.nextInt();

        for(int i=0;i<4;i++){
            for(int j=i+1;j<5;j++){
                if(Math.abs(a[i]-a[j])>k){
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }
} Main public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[5];
        for(int i=0;i<5;i++){
            a[i] = sc.nextInt();
        }
        int k=sc.nextInt();

        for(int i=0;i<4;i++){
            for(int j=i+1;j<5;j++){
                if(Math.abs(a[i]-a[j])>k){
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    } main {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[5];
        for(int i=0;i<5;i++){
            a[i] = sc.nextInt();
        }
        int k=sc.nextInt();

        for(int i=0;i<4;i++){
            for(int j=i+1;j<5;j++){
                if(Math.abs(a[i]-a[j])>k){
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] a = new int[5]; a new int[5] 5 for(int i=0;i<5;i++){
            a[i] = sc.nextInt();
        } int i=0; int i=0; i 0 i<5 i 5 i++ i++ i {
            a[i] = sc.nextInt();
        } {
            a[i] = sc.nextInt();
        } a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc int k=sc.nextInt(); k sc.nextInt() sc.nextInt sc for(int i=0;i<4;i++){
            for(int j=i+1;j<5;j++){
                if(Math.abs(a[i]-a[j])>k){
                    System.out.println(":(");
                    return;
                }
            }
        } int i=0; int i=0; i 0 i<4 i 4 i++ i++ i {
            for(int j=i+1;j<5;j++){
                if(Math.abs(a[i]-a[j])>k){
                    System.out.println(":(");
                    return;
                }
            }
        } {
            for(int j=i+1;j<5;j++){
                if(Math.abs(a[i]-a[j])>k){
                    System.out.println(":(");
                    return;
                }
            }
        } for(int j=i+1;j<5;j++){
                if(Math.abs(a[i]-a[j])>k){
                    System.out.println(":(");
                    return;
                }
            } int j=i+1; int j=i+1; j i+1 i 1 j<5 j 5 j++ j++ j {
                if(Math.abs(a[i]-a[j])>k){
                    System.out.println(":(");
                    return;
                }
            } {
                if(Math.abs(a[i]-a[j])>k){
                    System.out.println(":(");
                    return;
                }
            } if(Math.abs(a[i]-a[j])>k){
                    System.out.println(":(");
                    return;
                } Math.abs(a[i]-a[j])>k Math.abs(a[i]-a[j]) Math.abs Math a[i]-a[j] a[i] a i a[j] a j k {
                    System.out.println(":(");
                    return;
                } System.out.println(":(") System.out.println System.out System System.out ":(" return; 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 Exception {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[5];
        for(int i=0;i<5;i++){
            a[i] = sc.nextInt();
        }
        int k=sc.nextInt();

        for(int i=0;i<4;i++){
            for(int j=i+1;j<5;j++){
                if(Math.abs(a[i]-a[j])>k){
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[5];
        for(int i=0;i<5;i++){
            a[i] = sc.nextInt();
        }
        int k=sc.nextInt();

        for(int i=0;i<4;i++){
            for(int j=i+1;j<5;j++){
                if(Math.abs(a[i]-a[j])>k){
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }
} Main

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[5];
        for(int i=0;i<5;i++){
            a[i] = sc.nextInt();
        }
        int k=sc.nextInt();

        for(int i=0;i<4;i++){
            for(int j=i+1;j<5;j++){
                if(Math.abs(a[i]-a[j])>k){
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }
}