import java.util.*;

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 k = sc.nextInt();

        int ab = Math.abs(a-b);
        int ac = Math.abs(a-c);
        int ad = Math.abs(a-d);
        int ae = Math.abs(a-e);
        int bc = Math.abs(b-c);
        int bd = Math.abs(b-d);
        int be = Math.abs(b-e);
        int cd = Math.abs(c-d);
        int ce = Math.abs(c-e);
        int de = Math.abs(d-e);

        if((ab<=k)&&(ac<=k)&&(ad<=k)&&(ae<=k)&&(bc<=k)&&(bd<=k)&&(be<=k)&&(cd<=k)&&(ce<=k)&&(de<=k)){
            System.out.println("Yay!");
            
        }else{
            System.out.println(":(");
        }
       
    }
} import java.util.*; util.* java 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 k = sc.nextInt();

        int ab = Math.abs(a-b);
        int ac = Math.abs(a-c);
        int ad = Math.abs(a-d);
        int ae = Math.abs(a-e);
        int bc = Math.abs(b-c);
        int bd = Math.abs(b-d);
        int be = Math.abs(b-e);
        int cd = Math.abs(c-d);
        int ce = Math.abs(c-e);
        int de = Math.abs(d-e);

        if((ab<=k)&&(ac<=k)&&(ad<=k)&&(ae<=k)&&(bc<=k)&&(bd<=k)&&(be<=k)&&(cd<=k)&&(ce<=k)&&(de<=k)){
            System.out.println("Yay!");
            
        }else{
            System.out.println(":(");
        }
       
    }
} 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 k = sc.nextInt();

        int ab = Math.abs(a-b);
        int ac = Math.abs(a-c);
        int ad = Math.abs(a-d);
        int ae = Math.abs(a-e);
        int bc = Math.abs(b-c);
        int bd = Math.abs(b-d);
        int be = Math.abs(b-e);
        int cd = Math.abs(c-d);
        int ce = Math.abs(c-e);
        int de = Math.abs(d-e);

        if((ab<=k)&&(ac<=k)&&(ad<=k)&&(ae<=k)&&(bc<=k)&&(bd<=k)&&(be<=k)&&(cd<=k)&&(ce<=k)&&(de<=k)){
            System.out.println("Yay!");
            
        }else{
            System.out.println(":(");
        }
       
    } 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 k = sc.nextInt();

        int ab = Math.abs(a-b);
        int ac = Math.abs(a-c);
        int ad = Math.abs(a-d);
        int ae = Math.abs(a-e);
        int bc = Math.abs(b-c);
        int bd = Math.abs(b-d);
        int be = Math.abs(b-e);
        int cd = Math.abs(c-d);
        int ce = Math.abs(c-e);
        int de = Math.abs(d-e);

        if((ab<=k)&&(ac<=k)&&(ad<=k)&&(ae<=k)&&(bc<=k)&&(bd<=k)&&(be<=k)&&(cd<=k)&&(ce<=k)&&(de<=k)){
            System.out.println("Yay!");
            
        }else{
            System.out.println(":(");
        }
       
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc int d = sc.nextInt(); d sc.nextInt() sc.nextInt sc int e = sc.nextInt(); e sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc int ab = Math.abs(a-b); ab Math.abs(a-b) Math.abs Math a-b a b int ac = Math.abs(a-c); ac Math.abs(a-c) Math.abs Math a-c a c int ad = Math.abs(a-d); ad Math.abs(a-d) Math.abs Math a-d a d int ae = Math.abs(a-e); ae Math.abs(a-e) Math.abs Math a-e a e int bc = Math.abs(b-c); bc Math.abs(b-c) Math.abs Math b-c b c int bd = Math.abs(b-d); bd Math.abs(b-d) Math.abs Math b-d b d int be = Math.abs(b-e); be Math.abs(b-e) Math.abs Math b-e b e int cd = Math.abs(c-d); cd Math.abs(c-d) Math.abs Math c-d c d int ce = Math.abs(c-e); ce Math.abs(c-e) Math.abs Math c-e c e int de = Math.abs(d-e); de Math.abs(d-e) Math.abs Math d-e d e if((ab<=k)&&(ac<=k)&&(ad<=k)&&(ae<=k)&&(bc<=k)&&(bd<=k)&&(be<=k)&&(cd<=k)&&(ce<=k)&&(de<=k)){
            System.out.println("Yay!");
            
        }else{
            System.out.println(":(");
        } (ab<=k)&&(ac<=k)&&(ad<=k)&&(ae<=k)&&(bc<=k)&&(bd<=k)&&(be<=k)&&(cd<=k)&&(ce<=k)&&(de<=k) (ce<=k) (cd<=k) (be<=k) (bd<=k) (bc<=k) (ae<=k) (ad<=k) (ab<=k)&&(ac<=k)&&(ad<=k)&&(ae<=k)&&(bc<=k)&&(bd<=k)&&(be<=k)&&(cd<=k)&&(ce<=k)&&(de<=k) (ab<=k) ab k (ac<=k) ac k (ad<=k) ad k (ae<=k) ae k (bc<=k) bc k (bd<=k) bd k (be<=k) be k (cd<=k) cd k (ce<=k) ce k (de<=k) de k {
            System.out.println("Yay!");
            
        } System.out.println("Yay!") System.out.println System.out System System.out "Yay!" {
            System.out.println(":(");
        } System.out.println(":(") System.out.println System.out System System.out ":(" String[] args args
import java.util.*;

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 k = sc.nextInt();

        int ab = Math.abs(a-b);
        int ac = Math.abs(a-c);
        int ad = Math.abs(a-d);
        int ae = Math.abs(a-e);
        int bc = Math.abs(b-c);
        int bd = Math.abs(b-d);
        int be = Math.abs(b-e);
        int cd = Math.abs(c-d);
        int ce = Math.abs(c-e);
        int de = Math.abs(d-e);

        if((ab<=k)&&(ac<=k)&&(ad<=k)&&(ae<=k)&&(bc<=k)&&(bd<=k)&&(be<=k)&&(cd<=k)&&(ce<=k)&&(de<=k)){
            System.out.println("Yay!");
            
        }else{
            System.out.println(":(");
        }
       
    }
}