import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int min = Integer.MAX_VALUE;
        int max = Integer.MIN_VALUE;
        for (int i = 0; i < 5; i++) {
            int tmp = sc.nextInt();
            if (tmp < min) {
                min = tmp;
            }
            if (tmp > max) {
                max = tmp;
            }
        }
        int k = sc.nextInt();
        sc.close();

        if (max - min > k) {
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    }

} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int min = Integer.MAX_VALUE;
        int max = Integer.MIN_VALUE;
        for (int i = 0; i < 5; i++) {
            int tmp = sc.nextInt();
            if (tmp < min) {
                min = tmp;
            }
            if (tmp > max) {
                max = tmp;
            }
        }
        int k = sc.nextInt();
        sc.close();

        if (max - min > k) {
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    }

} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int min = Integer.MAX_VALUE;
        int max = Integer.MIN_VALUE;
        for (int i = 0; i < 5; i++) {
            int tmp = sc.nextInt();
            if (tmp < min) {
                min = tmp;
            }
            if (tmp > max) {
                max = tmp;
            }
        }
        int k = sc.nextInt();
        sc.close();

        if (max - min > k) {
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    } main {
        Scanner sc = new Scanner(System.in);
        int min = Integer.MAX_VALUE;
        int max = Integer.MIN_VALUE;
        for (int i = 0; i < 5; i++) {
            int tmp = sc.nextInt();
            if (tmp < min) {
                min = tmp;
            }
            if (tmp > max) {
                max = tmp;
            }
        }
        int k = sc.nextInt();
        sc.close();

        if (max - min > k) {
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE int max = Integer.MIN_VALUE; max Integer.MIN_VALUE Integer Integer.MIN_VALUE for (int i = 0; i < 5; i++) {
            int tmp = sc.nextInt();
            if (tmp < min) {
                min = tmp;
            }
            if (tmp > max) {
                max = tmp;
            }
        } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
            int tmp = sc.nextInt();
            if (tmp < min) {
                min = tmp;
            }
            if (tmp > max) {
                max = tmp;
            }
        } {
            int tmp = sc.nextInt();
            if (tmp < min) {
                min = tmp;
            }
            if (tmp > max) {
                max = tmp;
            }
        } int tmp = sc.nextInt(); tmp sc.nextInt() sc.nextInt sc if (tmp < min) {
                min = tmp;
            } tmp < min tmp min {
                min = tmp;
            } min = tmp min tmp if (tmp > max) {
                max = tmp;
            } tmp > max tmp max {
                max = tmp;
            } max = tmp max tmp int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc sc.close() sc.close sc if (max - min > k) {
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        } max - min > k max - min max min k {
            System.out.println(":(");
        } System.out.println(":(") System.out.println System.out System System.out ":(" {
            System.out.println("Yay!");
        } 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 min = Integer.MAX_VALUE;
        int max = Integer.MIN_VALUE;
        for (int i = 0; i < 5; i++) {
            int tmp = sc.nextInt();
            if (tmp < min) {
                min = tmp;
            }
            if (tmp > max) {
                max = tmp;
            }
        }
        int k = sc.nextInt();
        sc.close();

        if (max - min > k) {
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    }

} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int min = Integer.MAX_VALUE;
        int max = Integer.MIN_VALUE;
        for (int i = 0; i < 5; i++) {
            int tmp = sc.nextInt();
            if (tmp < min) {
                min = tmp;
            }
            if (tmp > max) {
                max = tmp;
            }
        }
        int k = sc.nextInt();
        sc.close();

        if (max - min > k) {
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    }

} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int min = Integer.MAX_VALUE;
        int max = Integer.MIN_VALUE;
        for (int i = 0; i < 5; i++) {
            int tmp = sc.nextInt();
            if (tmp < min) {
                min = tmp;
            }
            if (tmp > max) {
                max = tmp;
            }
        }
        int k = sc.nextInt();
        sc.close();

        if (max - min > k) {
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    }

}
