import java.util.*;

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

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

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

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

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

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

        String result = "Yay!";
        out: for (int i=0; i<5; i++) {
           for (int j=i+1; j<5; j++) {
              if (Math.abs(num[i] - num[j]) > k) {
                  result = ":(";
                  break out;
              }
           }
        }
        
        System.out.println(result);
    }
} Main
import java.util.*;

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

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