import java.util.*;
import java.io.*;
import java.lang.*;

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

        int[] arr = {a,b,c,d,e};
        Arrays.sort(arr);

        if ((e-a)<=f)
            System.out.println("Yay!");
        else
            System.out.println(":(");
    }
} import java.util.*; util.* java import java.io.*; io.* java import java.lang.*; lang.* 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 f = sc.nextInt();

        int[] arr = {a,b,c,d,e};
        Arrays.sort(arr);

        if ((e-a)<=f)
            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 f = sc.nextInt();

        int[] arr = {a,b,c,d,e};
        Arrays.sort(arr);

        if ((e-a)<=f)
            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 f = sc.nextInt();

        int[] arr = {a,b,c,d,e};
        Arrays.sort(arr);

        if ((e-a)<=f)
            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 f = sc.nextInt(); f sc.nextInt() sc.nextInt sc int[] arr = {a,b,c,d,e}; arr {a,b,c,d,e} a b c d e Arrays.sort(arr) Arrays.sort Arrays arr if ((e-a)<=f)
            System.out.println("Yay!");
        else
            System.out.println(":("); (e-a)<=f (e-a) e a f System.out.println("Yay!") System.out.println System.out System System.out "Yay!" System.out.println(":(") System.out.println System.out System System.out ":(" 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 f = sc.nextInt();

        int[] arr = {a,b,c,d,e};
        Arrays.sort(arr);

        if ((e-a)<=f)
            System.out.println("Yay!");
        else
            System.out.println(":(");
    }
} 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 f = sc.nextInt();

        int[] arr = {a,b,c,d,e};
        Arrays.sort(arr);

        if ((e-a)<=f)
            System.out.println("Yay!");
        else
            System.out.println(":(");
    }
} Main
import java.util.*;
import java.io.*;
import java.lang.*;

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

        int[] arr = {a,b,c,d,e};
        Arrays.sort(arr);

        if ((e-a)<=f)
            System.out.println("Yay!");
        else
            System.out.println(":(");
    }
}
