import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int n = 5;
        int[] array = new int[n];
        for (int i = 0; i < n; i++) {
            array[i] = sc.nextInt();
        }
        int k = sc.nextInt();
        
        boolean ok = true;
        for (int i = 0; i < n; i++) {
            for (int j = i + 1; j < n; j++) {
                if (array[j] - array[i] > k) ok = false;
            }
        }
        
        if (ok) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int n = 5;
        int[] array = new int[n];
        for (int i = 0; i < n; i++) {
            array[i] = sc.nextInt();
        }
        int k = sc.nextInt();
        
        boolean ok = true;
        for (int i = 0; i < n; i++) {
            for (int j = i + 1; j < n; j++) {
                if (array[j] - array[i] > k) ok = false;
            }
        }
        
        if (ok) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    }
} Main public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int n = 5;
        int[] array = new int[n];
        for (int i = 0; i < n; i++) {
            array[i] = sc.nextInt();
        }
        int k = sc.nextInt();
        
        boolean ok = true;
        for (int i = 0; i < n; i++) {
            for (int j = i + 1; j < n; j++) {
                if (array[j] - array[i] > k) ok = false;
            }
        }
        
        if (ok) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    } main {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int n = 5;
        int[] array = new int[n];
        for (int i = 0; i < n; i++) {
            array[i] = sc.nextInt();
        }
        int k = sc.nextInt();
        
        boolean ok = true;
        for (int i = 0; i < n; i++) {
            for (int j = i + 1; j < n; j++) {
                if (array[j] - array[i] > k) ok = false;
            }
        }
        
        if (ok) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = 5; n 5 int[] array = new int[n]; array new int[n] n for (int i = 0; i < n; i++) {
            array[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            array[i] = sc.nextInt();
        } {
            array[i] = sc.nextInt();
        } array[i] = sc.nextInt() array[i] array i sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc boolean ok = true; ok true for (int i = 0; i < n; i++) {
            for (int j = i + 1; j < n; j++) {
                if (array[j] - array[i] > k) ok = false;
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            for (int j = i + 1; j < n; j++) {
                if (array[j] - array[i] > k) ok = false;
            }
        } {
            for (int j = i + 1; j < n; j++) {
                if (array[j] - array[i] > k) ok = false;
            }
        } for (int j = i + 1; j < n; j++) {
                if (array[j] - array[i] > k) ok = false;
            } int j = i + 1; int j = i + 1; j i + 1 i 1 j < n j n j++ j++ j {
                if (array[j] - array[i] > k) ok = false;
            } {
                if (array[j] - array[i] > k) ok = false;
            } if (array[j] - array[i] > k) ok = false; array[j] - array[i] > k array[j] - array[i] array[j] array j array[i] array i k ok = false ok false if (ok) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        } ok {
            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 public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int n = 5;
        int[] array = new int[n];
        for (int i = 0; i < n; i++) {
            array[i] = sc.nextInt();
        }
        int k = sc.nextInt();
        
        boolean ok = true;
        for (int i = 0; i < n; i++) {
            for (int j = i + 1; j < n; j++) {
                if (array[j] - array[i] > k) ok = false;
            }
        }
        
        if (ok) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int n = 5;
        int[] array = new int[n];
        for (int i = 0; i < n; i++) {
            array[i] = sc.nextInt();
        }
        int k = sc.nextInt();
        
        boolean ok = true;
        for (int i = 0; i < n; i++) {
            for (int j = i + 1; j < n; j++) {
                if (array[j] - array[i] > k) ok = false;
            }
        }
        
        if (ok) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int n = 5;
        int[] array = new int[n];
        for (int i = 0; i < n; i++) {
            array[i] = sc.nextInt();
        }
        int k = sc.nextInt();
        
        boolean ok = true;
        for (int i = 0; i < n; i++) {
            for (int j = i + 1; j < n; j++) {
                if (array[j] - array[i] > k) ok = false;
            }
        }
        
        if (ok) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    }
}
