import java.util.Scanner;

import java.util.InputMismatchException;

public class Main{
    public static void main(String args[]){
        int distance[] = new int[5];
        int limit = 0;
        int flag = 0;

        try{
            Scanner scanner = new Scanner(System.in);
            for(int i = 0; i < distance.length; i++){
                distance[i] = scanner.nextInt();
            }
            limit = scanner.nextInt();
            scanner.close();
        } catch(InputMismatchException e){
            System.out.println(e);
        }

        for(int i = distance.length - 1; i >= 0; i--){
            for(int j = i - 1; j >= 0; j--){
                if(distance[i] - distance[j] > limit){
                    flag = 1;
                }
            }
        }

        if(flag == 1){
            System.out.println(":(");
        }
        else{
            System.out.println("Yay!");
        }
    }
} import java.util.Scanner; Scanner java.util import java.util.InputMismatchException; InputMismatchException java.util public class Main{
    public static void main(String args[]){
        int distance[] = new int[5];
        int limit = 0;
        int flag = 0;

        try{
            Scanner scanner = new Scanner(System.in);
            for(int i = 0; i < distance.length; i++){
                distance[i] = scanner.nextInt();
            }
            limit = scanner.nextInt();
            scanner.close();
        } catch(InputMismatchException e){
            System.out.println(e);
        }

        for(int i = distance.length - 1; i >= 0; i--){
            for(int j = i - 1; j >= 0; j--){
                if(distance[i] - distance[j] > limit){
                    flag = 1;
                }
            }
        }

        if(flag == 1){
            System.out.println(":(");
        }
        else{
            System.out.println("Yay!");
        }
    }
} Main public static void main(String args[]){
        int distance[] = new int[5];
        int limit = 0;
        int flag = 0;

        try{
            Scanner scanner = new Scanner(System.in);
            for(int i = 0; i < distance.length; i++){
                distance[i] = scanner.nextInt();
            }
            limit = scanner.nextInt();
            scanner.close();
        } catch(InputMismatchException e){
            System.out.println(e);
        }

        for(int i = distance.length - 1; i >= 0; i--){
            for(int j = i - 1; j >= 0; j--){
                if(distance[i] - distance[j] > limit){
                    flag = 1;
                }
            }
        }

        if(flag == 1){
            System.out.println(":(");
        }
        else{
            System.out.println("Yay!");
        }
    } main {
        int distance[] = new int[5];
        int limit = 0;
        int flag = 0;

        try{
            Scanner scanner = new Scanner(System.in);
            for(int i = 0; i < distance.length; i++){
                distance[i] = scanner.nextInt();
            }
            limit = scanner.nextInt();
            scanner.close();
        } catch(InputMismatchException e){
            System.out.println(e);
        }

        for(int i = distance.length - 1; i >= 0; i--){
            for(int j = i - 1; j >= 0; j--){
                if(distance[i] - distance[j] > limit){
                    flag = 1;
                }
            }
        }

        if(flag == 1){
            System.out.println(":(");
        }
        else{
            System.out.println("Yay!");
        }
    } int distance[] = new int[5]; distance new int[5] 5 int limit = 0; limit 0 int flag = 0; flag 0 try{
            Scanner scanner = new Scanner(System.in);
            for(int i = 0; i < distance.length; i++){
                distance[i] = scanner.nextInt();
            }
            limit = scanner.nextInt();
            scanner.close();
        } catch(InputMismatchException e){
            System.out.println(e);
        } catch(InputMismatchException e){
            System.out.println(e);
        } InputMismatchException e {
            System.out.println(e);
        } System.out.println(e) System.out.println System.out System System.out e {
            Scanner scanner = new Scanner(System.in);
            for(int i = 0; i < distance.length; i++){
                distance[i] = scanner.nextInt();
            }
            limit = scanner.nextInt();
            scanner.close();
        } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) for(int i = 0; i < distance.length; i++){
                distance[i] = scanner.nextInt();
            } int i = 0; int i = 0; i 0 i < distance.length i distance.length distance distance.length i++ i++ i {
                distance[i] = scanner.nextInt();
            } {
                distance[i] = scanner.nextInt();
            } distance[i] = scanner.nextInt() distance[i] distance i scanner.nextInt() scanner.nextInt scanner limit = scanner.nextInt() limit scanner.nextInt() scanner.nextInt scanner scanner.close() scanner.close scanner for(int i = distance.length - 1; i >= 0; i--){
            for(int j = i - 1; j >= 0; j--){
                if(distance[i] - distance[j] > limit){
                    flag = 1;
                }
            }
        } int i = distance.length - 1; int i = distance.length - 1; i distance.length - 1 distance.length distance distance.length 1 i >= 0 i 0 i-- i-- i {
            for(int j = i - 1; j >= 0; j--){
                if(distance[i] - distance[j] > limit){
                    flag = 1;
                }
            }
        } {
            for(int j = i - 1; j >= 0; j--){
                if(distance[i] - distance[j] > limit){
                    flag = 1;
                }
            }
        } for(int j = i - 1; j >= 0; j--){
                if(distance[i] - distance[j] > limit){
                    flag = 1;
                }
            } int j = i - 1; int j = i - 1; j i - 1 i 1 j >= 0 j 0 j-- j-- j {
                if(distance[i] - distance[j] > limit){
                    flag = 1;
                }
            } {
                if(distance[i] - distance[j] > limit){
                    flag = 1;
                }
            } if(distance[i] - distance[j] > limit){
                    flag = 1;
                } distance[i] - distance[j] > limit distance[i] - distance[j] distance[i] distance i distance[j] distance j limit {
                    flag = 1;
                } flag = 1 flag 1 if(flag == 1){
            System.out.println(":(");
        }
        else{
            System.out.println("Yay!");
        } flag == 1 flag 1 {
            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[]){
        int distance[] = new int[5];
        int limit = 0;
        int flag = 0;

        try{
            Scanner scanner = new Scanner(System.in);
            for(int i = 0; i < distance.length; i++){
                distance[i] = scanner.nextInt();
            }
            limit = scanner.nextInt();
            scanner.close();
        } catch(InputMismatchException e){
            System.out.println(e);
        }

        for(int i = distance.length - 1; i >= 0; i--){
            for(int j = i - 1; j >= 0; j--){
                if(distance[i] - distance[j] > limit){
                    flag = 1;
                }
            }
        }

        if(flag == 1){
            System.out.println(":(");
        }
        else{
            System.out.println("Yay!");
        }
    }
} public class Main{
    public static void main(String args[]){
        int distance[] = new int[5];
        int limit = 0;
        int flag = 0;

        try{
            Scanner scanner = new Scanner(System.in);
            for(int i = 0; i < distance.length; i++){
                distance[i] = scanner.nextInt();
            }
            limit = scanner.nextInt();
            scanner.close();
        } catch(InputMismatchException e){
            System.out.println(e);
        }

        for(int i = distance.length - 1; i >= 0; i--){
            for(int j = i - 1; j >= 0; j--){
                if(distance[i] - distance[j] > limit){
                    flag = 1;
                }
            }
        }

        if(flag == 1){
            System.out.println(":(");
        }
        else{
            System.out.println("Yay!");
        }
    }
} Main
import java.util.Scanner;

import java.util.InputMismatchException;

public class Main{
    public static void main(String args[]){
        int distance[] = new int[5];
        int limit = 0;
        int flag = 0;

        try{
            Scanner scanner = new Scanner(System.in);
            for(int i = 0; i < distance.length; i++){
                distance[i] = scanner.nextInt();
            }
            limit = scanner.nextInt();
            scanner.close();
        } catch(InputMismatchException e){
            System.out.println(e);
        }

        for(int i = distance.length - 1; i >= 0; i--){
            for(int j = i - 1; j >= 0; j--){
                if(distance[i] - distance[j] > limit){
                    flag = 1;
                }
            }
        }

        if(flag == 1){
            System.out.println(":(");
        }
        else{
            System.out.println("Yay!");
        }
    }
}
