import java.util.Scanner;
 
public class Main {
 
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
 
        int[] ant = new int[5];
        //        String s = sc.next();
 
        boolean ans = false;
 
        for (int i = 0; i < 5; i++) {
            ant[i] = sc.nextInt();
        }
        int k = sc.nextInt();
 
        if ((Math.abs(ant[0] - ant[1]) > k) || (Math.abs(ant[0] - ant[2]) > k) ||
                (Math.abs(ant[0] - ant[3]) > k) || (Math.abs(ant[0] - ant[4]) > k) ||
                (Math.abs(ant[1] - ant[2]) > k) || (Math.abs(ant[1] - ant[3]) > k) ||
                (Math.abs(ant[1] - ant[4]) > k) || (Math.abs(ant[2] - ant[3]) > k) ||
                (Math.abs(ant[2] - ant[4]) > k) || (Math.abs(ant[3] - ant[4]) > k))
            ans = true;
 
        sc.close();
        System.out.println(ans ? ":(" : "Yay!");
 
    }
} import java.util.Scanner; Scanner java.util public class Main {
 
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
 
        int[] ant = new int[5];
        //        String s = sc.next();
 
        boolean ans = false;
 
        for (int i = 0; i < 5; i++) {
            ant[i] = sc.nextInt();
        }
        int k = sc.nextInt();
 
        if ((Math.abs(ant[0] - ant[1]) > k) || (Math.abs(ant[0] - ant[2]) > k) ||
                (Math.abs(ant[0] - ant[3]) > k) || (Math.abs(ant[0] - ant[4]) > k) ||
                (Math.abs(ant[1] - ant[2]) > k) || (Math.abs(ant[1] - ant[3]) > k) ||
                (Math.abs(ant[1] - ant[4]) > k) || (Math.abs(ant[2] - ant[3]) > k) ||
                (Math.abs(ant[2] - ant[4]) > k) || (Math.abs(ant[3] - ant[4]) > k))
            ans = true;
 
        sc.close();
        System.out.println(ans ? ":(" : "Yay!");
 
    }
} Main public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
 
        int[] ant = new int[5];
        //        String s = sc.next();
 
        boolean ans = false;
 
        for (int i = 0; i < 5; i++) {
            ant[i] = sc.nextInt();
        }
        int k = sc.nextInt();
 
        if ((Math.abs(ant[0] - ant[1]) > k) || (Math.abs(ant[0] - ant[2]) > k) ||
                (Math.abs(ant[0] - ant[3]) > k) || (Math.abs(ant[0] - ant[4]) > k) ||
                (Math.abs(ant[1] - ant[2]) > k) || (Math.abs(ant[1] - ant[3]) > k) ||
                (Math.abs(ant[1] - ant[4]) > k) || (Math.abs(ant[2] - ant[3]) > k) ||
                (Math.abs(ant[2] - ant[4]) > k) || (Math.abs(ant[3] - ant[4]) > k))
            ans = true;
 
        sc.close();
        System.out.println(ans ? ":(" : "Yay!");
 
    } main {
        Scanner sc = new Scanner(System.in);
 
        int[] ant = new int[5];
        //        String s = sc.next();
 
        boolean ans = false;
 
        for (int i = 0; i < 5; i++) {
            ant[i] = sc.nextInt();
        }
        int k = sc.nextInt();
 
        if ((Math.abs(ant[0] - ant[1]) > k) || (Math.abs(ant[0] - ant[2]) > k) ||
                (Math.abs(ant[0] - ant[3]) > k) || (Math.abs(ant[0] - ant[4]) > k) ||
                (Math.abs(ant[1] - ant[2]) > k) || (Math.abs(ant[1] - ant[3]) > k) ||
                (Math.abs(ant[1] - ant[4]) > k) || (Math.abs(ant[2] - ant[3]) > k) ||
                (Math.abs(ant[2] - ant[4]) > k) || (Math.abs(ant[3] - ant[4]) > k))
            ans = true;
 
        sc.close();
        System.out.println(ans ? ":(" : "Yay!");
 
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] ant = new int[5]; ant new int[5] 5 boolean ans = false; ans false for (int i = 0; i < 5; i++) {
            ant[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
            ant[i] = sc.nextInt();
        } {
            ant[i] = sc.nextInt();
        } ant[i] = sc.nextInt() ant[i] ant i sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc if ((Math.abs(ant[0] - ant[1]) > k) || (Math.abs(ant[0] - ant[2]) > k) ||
                (Math.abs(ant[0] - ant[3]) > k) || (Math.abs(ant[0] - ant[4]) > k) ||
                (Math.abs(ant[1] - ant[2]) > k) || (Math.abs(ant[1] - ant[3]) > k) ||
                (Math.abs(ant[1] - ant[4]) > k) || (Math.abs(ant[2] - ant[3]) > k) ||
                (Math.abs(ant[2] - ant[4]) > k) || (Math.abs(ant[3] - ant[4]) > k))
            ans = true; (Math.abs(ant[0] - ant[1]) > k) || (Math.abs(ant[0] - ant[2]) > k) ||
                (Math.abs(ant[0] - ant[3]) > k) || (Math.abs(ant[0] - ant[4]) > k) ||
                (Math.abs(ant[1] - ant[2]) > k) || (Math.abs(ant[1] - ant[3]) > k) ||
                (Math.abs(ant[1] - ant[4]) > k) || (Math.abs(ant[2] - ant[3]) > k) ||
                (Math.abs(ant[2] - ant[4]) > k) || (Math.abs(ant[3] - ant[4]) > k) (Math.abs(ant[2] - ant[4]) > k) (Math.abs(ant[2] - ant[3]) > k) (Math.abs(ant[1] - ant[4]) > k) (Math.abs(ant[1] - ant[3]) > k) (Math.abs(ant[1] - ant[2]) > k) (Math.abs(ant[0] - ant[4]) > k) (Math.abs(ant[0] - ant[3]) > k) (Math.abs(ant[0] - ant[1]) > k) || (Math.abs(ant[0] - ant[2]) > k) ||
                (Math.abs(ant[0] - ant[3]) > k) || (Math.abs(ant[0] - ant[4]) > k) ||
                (Math.abs(ant[1] - ant[2]) > k) || (Math.abs(ant[1] - ant[3]) > k) ||
                (Math.abs(ant[1] - ant[4]) > k) || (Math.abs(ant[2] - ant[3]) > k) ||
                (Math.abs(ant[2] - ant[4]) > k) || (Math.abs(ant[3] - ant[4]) > k) (Math.abs(ant[0] - ant[1]) > k) Math.abs(ant[0] - ant[1]) Math.abs Math ant[0] - ant[1] ant[0] ant 0 ant[1] ant 1 k (Math.abs(ant[0] - ant[2]) > k) Math.abs(ant[0] - ant[2]) Math.abs Math ant[0] - ant[2] ant[0] ant 0 ant[2] ant 2 k (Math.abs(ant[0] - ant[3]) > k) Math.abs(ant[0] - ant[3]) Math.abs Math ant[0] - ant[3] ant[0] ant 0 ant[3] ant 3 k (Math.abs(ant[0] - ant[4]) > k) Math.abs(ant[0] - ant[4]) Math.abs Math ant[0] - ant[4] ant[0] ant 0 ant[4] ant 4 k (Math.abs(ant[1] - ant[2]) > k) Math.abs(ant[1] - ant[2]) Math.abs Math ant[1] - ant[2] ant[1] ant 1 ant[2] ant 2 k (Math.abs(ant[1] - ant[3]) > k) Math.abs(ant[1] - ant[3]) Math.abs Math ant[1] - ant[3] ant[1] ant 1 ant[3] ant 3 k (Math.abs(ant[1] - ant[4]) > k) Math.abs(ant[1] - ant[4]) Math.abs Math ant[1] - ant[4] ant[1] ant 1 ant[4] ant 4 k (Math.abs(ant[2] - ant[3]) > k) Math.abs(ant[2] - ant[3]) Math.abs Math ant[2] - ant[3] ant[2] ant 2 ant[3] ant 3 k (Math.abs(ant[2] - ant[4]) > k) Math.abs(ant[2] - ant[4]) Math.abs Math ant[2] - ant[4] ant[2] ant 2 ant[4] ant 4 k (Math.abs(ant[3] - ant[4]) > k) Math.abs(ant[3] - ant[4]) Math.abs Math ant[3] - ant[4] ant[3] ant 3 ant[4] ant 4 k ans = true ans true sc.close() sc.close sc System.out.println(ans ? ":(" : "Yay!") System.out.println System.out System System.out ans ? ":(" : "Yay!" ans ":(" "Yay!" String[] args args public class Main {
 
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
 
        int[] ant = new int[5];
        //        String s = sc.next();
 
        boolean ans = false;
 
        for (int i = 0; i < 5; i++) {
            ant[i] = sc.nextInt();
        }
        int k = sc.nextInt();
 
        if ((Math.abs(ant[0] - ant[1]) > k) || (Math.abs(ant[0] - ant[2]) > k) ||
                (Math.abs(ant[0] - ant[3]) > k) || (Math.abs(ant[0] - ant[4]) > k) ||
                (Math.abs(ant[1] - ant[2]) > k) || (Math.abs(ant[1] - ant[3]) > k) ||
                (Math.abs(ant[1] - ant[4]) > k) || (Math.abs(ant[2] - ant[3]) > k) ||
                (Math.abs(ant[2] - ant[4]) > k) || (Math.abs(ant[3] - ant[4]) > k))
            ans = true;
 
        sc.close();
        System.out.println(ans ? ":(" : "Yay!");
 
    }
} public class Main {
 
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
 
        int[] ant = new int[5];
        //        String s = sc.next();
 
        boolean ans = false;
 
        for (int i = 0; i < 5; i++) {
            ant[i] = sc.nextInt();
        }
        int k = sc.nextInt();
 
        if ((Math.abs(ant[0] - ant[1]) > k) || (Math.abs(ant[0] - ant[2]) > k) ||
                (Math.abs(ant[0] - ant[3]) > k) || (Math.abs(ant[0] - ant[4]) > k) ||
                (Math.abs(ant[1] - ant[2]) > k) || (Math.abs(ant[1] - ant[3]) > k) ||
                (Math.abs(ant[1] - ant[4]) > k) || (Math.abs(ant[2] - ant[3]) > k) ||
                (Math.abs(ant[2] - ant[4]) > k) || (Math.abs(ant[3] - ant[4]) > k))
            ans = true;
 
        sc.close();
        System.out.println(ans ? ":(" : "Yay!");
 
    }
} Main
import java.util.Scanner;
 
public class Main {
 
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
 
        int[] ant = new int[5];
        //        String s = sc.next();
 
        boolean ans = false;
 
        for (int i = 0; i < 5; i++) {
            ant[i] = sc.nextInt();
        }
        int k = sc.nextInt();
 
        if ((Math.abs(ant[0] - ant[1]) > k) || (Math.abs(ant[0] - ant[2]) > k) ||
                (Math.abs(ant[0] - ant[3]) > k) || (Math.abs(ant[0] - ant[4]) > k) ||
                (Math.abs(ant[1] - ant[2]) > k) || (Math.abs(ant[1] - ant[3]) > k) ||
                (Math.abs(ant[1] - ant[4]) > k) || (Math.abs(ant[2] - ant[3]) > k) ||
                (Math.abs(ant[2] - ant[4]) > k) || (Math.abs(ant[3] - ant[4]) > k))
            ans = true;
 
        sc.close();
        System.out.println(ans ? ":(" : "Yay!");
 
    }
}