import java.util.*;


public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int n = 5;
        int[] positions = new int[n];
        for (int i = 0; i < n; i++) {
            positions[i] = sc.nextInt();
        }
        
        int border = sc.nextInt();
        boolean pass = true;
        
        for (int i = 0; i < n - 1; i++) {
            for (int j = i + 1; j < n; j++) {
                int difference = positions[j] - positions[i];
                if (difference > border) {
                    pass = false;
                    break;
                }
            }
        }
        
        if (pass) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int n = 5;
        int[] positions = new int[n];
        for (int i = 0; i < n; i++) {
            positions[i] = sc.nextInt();
        }
        
        int border = sc.nextInt();
        boolean pass = true;
        
        for (int i = 0; i < n - 1; i++) {
            for (int j = i + 1; j < n; j++) {
                int difference = positions[j] - positions[i];
                if (difference > border) {
                    pass = false;
                    break;
                }
            }
        }
        
        if (pass) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    }
} Main public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int n = 5;
        int[] positions = new int[n];
        for (int i = 0; i < n; i++) {
            positions[i] = sc.nextInt();
        }
        
        int border = sc.nextInt();
        boolean pass = true;
        
        for (int i = 0; i < n - 1; i++) {
            for (int j = i + 1; j < n; j++) {
                int difference = positions[j] - positions[i];
                if (difference > border) {
                    pass = false;
                    break;
                }
            }
        }
        
        if (pass) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    } main {

        Scanner sc = new Scanner(System.in);
        int n = 5;
        int[] positions = new int[n];
        for (int i = 0; i < n; i++) {
            positions[i] = sc.nextInt();
        }
        
        int border = sc.nextInt();
        boolean pass = true;
        
        for (int i = 0; i < n - 1; i++) {
            for (int j = i + 1; j < n; j++) {
                int difference = positions[j] - positions[i];
                if (difference > border) {
                    pass = false;
                    break;
                }
            }
        }
        
        if (pass) {
            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[] positions = new int[n]; positions new int[n] n for (int i = 0; i < n; i++) {
            positions[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            positions[i] = sc.nextInt();
        } {
            positions[i] = sc.nextInt();
        } positions[i] = sc.nextInt() positions[i] positions i sc.nextInt() sc.nextInt sc int border = sc.nextInt(); border sc.nextInt() sc.nextInt sc boolean pass = true; pass true for (int i = 0; i < n - 1; i++) {
            for (int j = i + 1; j < n; j++) {
                int difference = positions[j] - positions[i];
                if (difference > border) {
                    pass = false;
                    break;
                }
            }
        } int i = 0; int i = 0; i 0 i < n - 1 i n - 1 n 1 i++ i++ i {
            for (int j = i + 1; j < n; j++) {
                int difference = positions[j] - positions[i];
                if (difference > border) {
                    pass = false;
                    break;
                }
            }
        } {
            for (int j = i + 1; j < n; j++) {
                int difference = positions[j] - positions[i];
                if (difference > border) {
                    pass = false;
                    break;
                }
            }
        } for (int j = i + 1; j < n; j++) {
                int difference = positions[j] - positions[i];
                if (difference > border) {
                    pass = false;
                    break;
                }
            } int j = i + 1; int j = i + 1; j i + 1 i 1 j < n j n j++ j++ j {
                int difference = positions[j] - positions[i];
                if (difference > border) {
                    pass = false;
                    break;
                }
            } {
                int difference = positions[j] - positions[i];
                if (difference > border) {
                    pass = false;
                    break;
                }
            } int difference = positions[j] - positions[i]; difference positions[j] - positions[i] positions[j] positions j positions[i] positions i if (difference > border) {
                    pass = false;
                    break;
                } difference > border difference border {
                    pass = false;
                    break;
                } pass = false pass false break; if (pass) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        } pass {
            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) {

        Scanner sc = new Scanner(System.in);
        int n = 5;
        int[] positions = new int[n];
        for (int i = 0; i < n; i++) {
            positions[i] = sc.nextInt();
        }
        
        int border = sc.nextInt();
        boolean pass = true;
        
        for (int i = 0; i < n - 1; i++) {
            for (int j = i + 1; j < n; j++) {
                int difference = positions[j] - positions[i];
                if (difference > border) {
                    pass = false;
                    break;
                }
            }
        }
        
        if (pass) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    }
} public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int n = 5;
        int[] positions = new int[n];
        for (int i = 0; i < n; i++) {
            positions[i] = sc.nextInt();
        }
        
        int border = sc.nextInt();
        boolean pass = true;
        
        for (int i = 0; i < n - 1; i++) {
            for (int j = i + 1; j < n; j++) {
                int difference = positions[j] - positions[i];
                if (difference > border) {
                    pass = false;
                    break;
                }
            }
        }
        
        if (pass) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    }
} Main
import java.util.*;


public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int n = 5;
        int[] positions = new int[n];
        for (int i = 0; i < n; i++) {
            positions[i] = sc.nextInt();
        }
        
        int border = sc.nextInt();
        boolean pass = true;
        
        for (int i = 0; i < n - 1; i++) {
            for (int j = i + 1; j < n; j++) {
                int difference = positions[j] - positions[i];
                if (difference > border) {
                    pass = false;
                    break;
                }
            }
        }
        
        if (pass) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    }
}