
import java.util.Scanner;

public class Main {
    public static void main(final String[] args) {
        final Scanner scanner = new Scanner(System.in);
        final int[] antennas = new int[5];
        for(int i = 0;i<5;i++){
            antennas[i] = scanner.nextInt();
        }

        final int distance = scanner.nextInt();

        for(int i = 0;i<5;i++){
            for(int j = i+1;j<5;j++){
                if(antennas[j]-antennas[i] > distance){
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(final String[] args) {
        final Scanner scanner = new Scanner(System.in);
        final int[] antennas = new int[5];
        for(int i = 0;i<5;i++){
            antennas[i] = scanner.nextInt();
        }

        final int distance = scanner.nextInt();

        for(int i = 0;i<5;i++){
            for(int j = i+1;j<5;j++){
                if(antennas[j]-antennas[i] > distance){
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }
} Main public static void main(final String[] args) {
        final Scanner scanner = new Scanner(System.in);
        final int[] antennas = new int[5];
        for(int i = 0;i<5;i++){
            antennas[i] = scanner.nextInt();
        }

        final int distance = scanner.nextInt();

        for(int i = 0;i<5;i++){
            for(int j = i+1;j<5;j++){
                if(antennas[j]-antennas[i] > distance){
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    } main {
        final Scanner scanner = new Scanner(System.in);
        final int[] antennas = new int[5];
        for(int i = 0;i<5;i++){
            antennas[i] = scanner.nextInt();
        }

        final int distance = scanner.nextInt();

        for(int i = 0;i<5;i++){
            for(int j = i+1;j<5;j++){
                if(antennas[j]-antennas[i] > distance){
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    } final Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) final int[] antennas = new int[5]; antennas new int[5] 5 for(int i = 0;i<5;i++){
            antennas[i] = scanner.nextInt();
        } int i = 0; int i = 0; i 0 i<5 i 5 i++ i++ i {
            antennas[i] = scanner.nextInt();
        } {
            antennas[i] = scanner.nextInt();
        } antennas[i] = scanner.nextInt() antennas[i] antennas i scanner.nextInt() scanner.nextInt scanner final int distance = scanner.nextInt(); distance scanner.nextInt() scanner.nextInt scanner for(int i = 0;i<5;i++){
            for(int j = i+1;j<5;j++){
                if(antennas[j]-antennas[i] > distance){
                    System.out.println(":(");
                    return;
                }
            }
        } int i = 0; int i = 0; i 0 i<5 i 5 i++ i++ i {
            for(int j = i+1;j<5;j++){
                if(antennas[j]-antennas[i] > distance){
                    System.out.println(":(");
                    return;
                }
            }
        } {
            for(int j = i+1;j<5;j++){
                if(antennas[j]-antennas[i] > distance){
                    System.out.println(":(");
                    return;
                }
            }
        } for(int j = i+1;j<5;j++){
                if(antennas[j]-antennas[i] > distance){
                    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(antennas[j]-antennas[i] > distance){
                    System.out.println(":(");
                    return;
                }
            } {
                if(antennas[j]-antennas[i] > distance){
                    System.out.println(":(");
                    return;
                }
            } if(antennas[j]-antennas[i] > distance){
                    System.out.println(":(");
                    return;
                } antennas[j]-antennas[i] > distance antennas[j]-antennas[i] antennas[j] antennas j antennas[i] antennas i distance {
                    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!" final String[] args args public class Main {
    public static void main(final String[] args) {
        final Scanner scanner = new Scanner(System.in);
        final int[] antennas = new int[5];
        for(int i = 0;i<5;i++){
            antennas[i] = scanner.nextInt();
        }

        final int distance = scanner.nextInt();

        for(int i = 0;i<5;i++){
            for(int j = i+1;j<5;j++){
                if(antennas[j]-antennas[i] > distance){
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }
} public class Main {
    public static void main(final String[] args) {
        final Scanner scanner = new Scanner(System.in);
        final int[] antennas = new int[5];
        for(int i = 0;i<5;i++){
            antennas[i] = scanner.nextInt();
        }

        final int distance = scanner.nextInt();

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

import java.util.Scanner;

public class Main {
    public static void main(final String[] args) {
        final Scanner scanner = new Scanner(System.in);
        final int[] antennas = new int[5];
        for(int i = 0;i<5;i++){
            antennas[i] = scanner.nextInt();
        }

        final int distance = scanner.nextInt();

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