import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
//        int a = sc.nextInt();
//        int b = sc.nextInt();
//        int c= sc.nextInt();
//        int d= sc.nextInt();
//        int e= sc.nextInt();
       
        int ar[] = new int[5];
        boolean what = true;
        for(int i = 0 ; i<5 ; i++){
            ar[i] = sc.nextInt();
        }
         int k= sc.nextInt();
         for(int i = 0 ; i<ar.length-1 ; i++){
             for(int j = i; j<ar.length-1 ;j++){
                 
                 if(Math.abs((ar[i] - ar[j+1])) >k) {what = false;

                 break ;}
                
             }
              if(what == false) break;
         }
         
         if(what == false) System.out.println(":(");
         else System.out.println("Yay!");
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
//        int a = sc.nextInt();
//        int b = sc.nextInt();
//        int c= sc.nextInt();
//        int d= sc.nextInt();
//        int e= sc.nextInt();
       
        int ar[] = new int[5];
        boolean what = true;
        for(int i = 0 ; i<5 ; i++){
            ar[i] = sc.nextInt();
        }
         int k= sc.nextInt();
         for(int i = 0 ; i<ar.length-1 ; i++){
             for(int j = i; j<ar.length-1 ;j++){
                 
                 if(Math.abs((ar[i] - ar[j+1])) >k) {what = false;

                 break ;}
                
             }
              if(what == false) break;
         }
         
         if(what == false) System.out.println(":(");
         else System.out.println("Yay!");
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
//        int a = sc.nextInt();
//        int b = sc.nextInt();
//        int c= sc.nextInt();
//        int d= sc.nextInt();
//        int e= sc.nextInt();
       
        int ar[] = new int[5];
        boolean what = true;
        for(int i = 0 ; i<5 ; i++){
            ar[i] = sc.nextInt();
        }
         int k= sc.nextInt();
         for(int i = 0 ; i<ar.length-1 ; i++){
             for(int j = i; j<ar.length-1 ;j++){
                 
                 if(Math.abs((ar[i] - ar[j+1])) >k) {what = false;

                 break ;}
                
             }
              if(what == false) break;
         }
         
         if(what == false) System.out.println(":(");
         else System.out.println("Yay!");
    } main {
        Scanner sc = new Scanner(System.in);
//        int a = sc.nextInt();
//        int b = sc.nextInt();
//        int c= sc.nextInt();
//        int d= sc.nextInt();
//        int e= sc.nextInt();
       
        int ar[] = new int[5];
        boolean what = true;
        for(int i = 0 ; i<5 ; i++){
            ar[i] = sc.nextInt();
        }
         int k= sc.nextInt();
         for(int i = 0 ; i<ar.length-1 ; i++){
             for(int j = i; j<ar.length-1 ;j++){
                 
                 if(Math.abs((ar[i] - ar[j+1])) >k) {what = false;

                 break ;}
                
             }
              if(what == false) break;
         }
         
         if(what == false) System.out.println(":(");
         else System.out.println("Yay!");
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int ar[] = new int[5]; ar new int[5] 5 boolean what = true; what true for(int i = 0 ; i<5 ; i++){
            ar[i] = sc.nextInt();
        } int i = 0 ; int i = 0 ; i 0 i<5 i 5 i++ i++ i {
            ar[i] = sc.nextInt();
        } {
            ar[i] = sc.nextInt();
        } ar[i] = sc.nextInt() ar[i] ar i sc.nextInt() sc.nextInt sc int k= sc.nextInt(); k sc.nextInt() sc.nextInt sc for(int i = 0 ; i<ar.length-1 ; i++){
             for(int j = i; j<ar.length-1 ;j++){
                 
                 if(Math.abs((ar[i] - ar[j+1])) >k) {what = false;

                 break ;}
                
             }
              if(what == false) break;
         } int i = 0 ; int i = 0 ; i 0 i<ar.length-1 i ar.length-1 ar.length ar ar.length 1 i++ i++ i {
             for(int j = i; j<ar.length-1 ;j++){
                 
                 if(Math.abs((ar[i] - ar[j+1])) >k) {what = false;

                 break ;}
                
             }
              if(what == false) break;
         } {
             for(int j = i; j<ar.length-1 ;j++){
                 
                 if(Math.abs((ar[i] - ar[j+1])) >k) {what = false;

                 break ;}
                
             }
              if(what == false) break;
         } for(int j = i; j<ar.length-1 ;j++){
                 
                 if(Math.abs((ar[i] - ar[j+1])) >k) {what = false;

                 break ;}
                
             } int j = i; int j = i; j i j<ar.length-1 j ar.length-1 ar.length ar ar.length 1 j++ j++ j {
                 
                 if(Math.abs((ar[i] - ar[j+1])) >k) {what = false;

                 break ;}
                
             } {
                 
                 if(Math.abs((ar[i] - ar[j+1])) >k) {what = false;

                 break ;}
                
             } if(Math.abs((ar[i] - ar[j+1])) >k) {what = false;

                 break ;} Math.abs((ar[i] - ar[j+1])) >k Math.abs((ar[i] - ar[j+1])) Math.abs Math (ar[i] - ar[j+1]) ar[i] ar i ar[j+1] ar j+1 j 1 k {what = false;

                 break ;} what = false what false break ; if(what == false) break; what == false what false break; if(what == false) System.out.println(":(");
         else System.out.println("Yay!"); what == false what false System.out.println(":(") System.out.println System.out System System.out ":(" 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) {
        Scanner sc = new Scanner(System.in);
//        int a = sc.nextInt();
//        int b = sc.nextInt();
//        int c= sc.nextInt();
//        int d= sc.nextInt();
//        int e= sc.nextInt();
       
        int ar[] = new int[5];
        boolean what = true;
        for(int i = 0 ; i<5 ; i++){
            ar[i] = sc.nextInt();
        }
         int k= sc.nextInt();
         for(int i = 0 ; i<ar.length-1 ; i++){
             for(int j = i; j<ar.length-1 ;j++){
                 
                 if(Math.abs((ar[i] - ar[j+1])) >k) {what = false;

                 break ;}
                
             }
              if(what == false) break;
         }
         
         if(what == false) System.out.println(":(");
         else System.out.println("Yay!");
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
//        int a = sc.nextInt();
//        int b = sc.nextInt();
//        int c= sc.nextInt();
//        int d= sc.nextInt();
//        int e= sc.nextInt();
       
        int ar[] = new int[5];
        boolean what = true;
        for(int i = 0 ; i<5 ; i++){
            ar[i] = sc.nextInt();
        }
         int k= sc.nextInt();
         for(int i = 0 ; i<ar.length-1 ; i++){
             for(int j = i; j<ar.length-1 ;j++){
                 
                 if(Math.abs((ar[i] - ar[j+1])) >k) {what = false;

                 break ;}
                
             }
              if(what == false) break;
         }
         
         if(what == false) System.out.println(":(");
         else System.out.println("Yay!");
    }
} Main
import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
//        int a = sc.nextInt();
//        int b = sc.nextInt();
//        int c= sc.nextInt();
//        int d= sc.nextInt();
//        int e= sc.nextInt();
       
        int ar[] = new int[5];
        boolean what = true;
        for(int i = 0 ; i<5 ; i++){
            ar[i] = sc.nextInt();
        }
         int k= sc.nextInt();
         for(int i = 0 ; i<ar.length-1 ; i++){
             for(int j = i; j<ar.length-1 ;j++){
                 
                 if(Math.abs((ar[i] - ar[j+1])) >k) {what = false;

                 break ;}
                
             }
              if(what == false) break;
         }
         
         if(what == false) System.out.println(":(");
         else System.out.println("Yay!");
    }
}
