import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scan = new Scanner(System.in);

        int num = 0;
        int min = 124;
        int max = -1;
        for (int i = 0 ; i < 6 ; i++) {
            num = scan.nextInt();
            if (min > num) {
                min = num;
            }
            if (max < num) {
                max = num;
            }
        }
        
        if ((max - min) > num){
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scan = new Scanner(System.in);

        int num = 0;
        int min = 124;
        int max = -1;
        for (int i = 0 ; i < 6 ; i++) {
            num = scan.nextInt();
            if (min > num) {
                min = num;
            }
            if (max < num) {
                max = num;
            }
        }
        
        if ((max - min) > num){
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    }
} Main public static void main(String[] args) throws Exception {
        Scanner scan = new Scanner(System.in);

        int num = 0;
        int min = 124;
        int max = -1;
        for (int i = 0 ; i < 6 ; i++) {
            num = scan.nextInt();
            if (min > num) {
                min = num;
            }
            if (max < num) {
                max = num;
            }
        }
        
        if ((max - min) > num){
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    } main {
        Scanner scan = new Scanner(System.in);

        int num = 0;
        int min = 124;
        int max = -1;
        for (int i = 0 ; i < 6 ; i++) {
            num = scan.nextInt();
            if (min > num) {
                min = num;
            }
            if (max < num) {
                max = num;
            }
        }
        
        if ((max - min) > num){
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int num = 0; num 0 int min = 124; min 124 int max = -1; max -1 1 for (int i = 0 ; i < 6 ; i++) {
            num = scan.nextInt();
            if (min > num) {
                min = num;
            }
            if (max < num) {
                max = num;
            }
        } int i = 0 ; int i = 0 ; i 0 i < 6 i 6 i++ i++ i {
            num = scan.nextInt();
            if (min > num) {
                min = num;
            }
            if (max < num) {
                max = num;
            }
        } {
            num = scan.nextInt();
            if (min > num) {
                min = num;
            }
            if (max < num) {
                max = num;
            }
        } num = scan.nextInt() num scan.nextInt() scan.nextInt scan if (min > num) {
                min = num;
            } min > num min num {
                min = num;
            } min = num min num if (max < num) {
                max = num;
            } max < num max num {
                max = num;
            } max = num max num if ((max - min) > num){
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        } (max - min) > num (max - min) max min num {
            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) throws Exception {
        Scanner scan = new Scanner(System.in);

        int num = 0;
        int min = 124;
        int max = -1;
        for (int i = 0 ; i < 6 ; i++) {
            num = scan.nextInt();
            if (min > num) {
                min = num;
            }
            if (max < num) {
                max = num;
            }
        }
        
        if ((max - min) > num){
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scan = new Scanner(System.in);

        int num = 0;
        int min = 124;
        int max = -1;
        for (int i = 0 ; i < 6 ; i++) {
            num = scan.nextInt();
            if (min > num) {
                min = num;
            }
            if (max < num) {
                max = num;
            }
        }
        
        if ((max - min) > num){
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scan = new Scanner(System.in);

        int num = 0;
        int min = 124;
        int max = -1;
        for (int i = 0 ; i < 6 ; i++) {
            num = scan.nextInt();
            if (min > num) {
                min = num;
            }
            if (max < num) {
                max = num;
            }
        }
        
        if ((max - min) > num){
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    }
}
