

import java.util.Scanner;

public class Main {

    public static void main(final String[] args) {
        try (final Scanner sc = new Scanner(System.in)) {
            final int[] nums = new int[5];
            for (int i = 0; i < nums.length; i++) {
                nums[i] = sc.nextInt();
            }
            final int k = sc.nextInt();

            for (int i = 0; i < 5; i++) {
                for (int j = i + 1; j < 5; j++) {
                    if ((nums[j] - nums[i]) > k) {
                        System.out.println(":(");
                        return;
                    }
                }
            }
            System.out.println("Yay!");
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(final String[] args) {
        try (final Scanner sc = new Scanner(System.in)) {
            final int[] nums = new int[5];
            for (int i = 0; i < nums.length; i++) {
                nums[i] = sc.nextInt();
            }
            final int k = sc.nextInt();

            for (int i = 0; i < 5; i++) {
                for (int j = i + 1; j < 5; j++) {
                    if ((nums[j] - nums[i]) > k) {
                        System.out.println(":(");
                        return;
                    }
                }
            }
            System.out.println("Yay!");
        }
    }
} Main public static void main(final String[] args) {
        try (final Scanner sc = new Scanner(System.in)) {
            final int[] nums = new int[5];
            for (int i = 0; i < nums.length; i++) {
                nums[i] = sc.nextInt();
            }
            final int k = sc.nextInt();

            for (int i = 0; i < 5; i++) {
                for (int j = i + 1; j < 5; j++) {
                    if ((nums[j] - nums[i]) > k) {
                        System.out.println(":(");
                        return;
                    }
                }
            }
            System.out.println("Yay!");
        }
    } main {
        try (final Scanner sc = new Scanner(System.in)) {
            final int[] nums = new int[5];
            for (int i = 0; i < nums.length; i++) {
                nums[i] = sc.nextInt();
            }
            final int k = sc.nextInt();

            for (int i = 0; i < 5; i++) {
                for (int j = i + 1; j < 5; j++) {
                    if ((nums[j] - nums[i]) > k) {
                        System.out.println(":(");
                        return;
                    }
                }
            }
            System.out.println("Yay!");
        }
    } try (final Scanner sc = new Scanner(System.in)) {
            final int[] nums = new int[5];
            for (int i = 0; i < nums.length; i++) {
                nums[i] = sc.nextInt();
            }
            final int k = sc.nextInt();

            for (int i = 0; i < 5; i++) {
                for (int j = i + 1; j < 5; j++) {
                    if ((nums[j] - nums[i]) > k) {
                        System.out.println(":(");
                        return;
                    }
                }
            }
            System.out.println("Yay!");
        } {
            final int[] nums = new int[5];
            for (int i = 0; i < nums.length; i++) {
                nums[i] = sc.nextInt();
            }
            final int k = sc.nextInt();

            for (int i = 0; i < 5; i++) {
                for (int j = i + 1; j < 5; j++) {
                    if ((nums[j] - nums[i]) > k) {
                        System.out.println(":(");
                        return;
                    }
                }
            }
            System.out.println("Yay!");
        } final Scanner sc = new Scanner(System.in) final Scanner sc = new Scanner(System.in) new Scanner(System.in) final int[] nums = new int[5]; nums new int[5] 5 for (int i = 0; i < nums.length; i++) {
                nums[i] = sc.nextInt();
            } int i = 0; int i = 0; i 0 i < nums.length i nums.length nums nums.length i++ i++ i {
                nums[i] = sc.nextInt();
            } {
                nums[i] = sc.nextInt();
            } nums[i] = sc.nextInt() nums[i] nums i sc.nextInt() sc.nextInt sc final int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc for (int i = 0; i < 5; i++) {
                for (int j = i + 1; j < 5; j++) {
                    if ((nums[j] - nums[i]) > k) {
                        System.out.println(":(");
                        return;
                    }
                }
            } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
                for (int j = i + 1; j < 5; j++) {
                    if ((nums[j] - nums[i]) > k) {
                        System.out.println(":(");
                        return;
                    }
                }
            } {
                for (int j = i + 1; j < 5; j++) {
                    if ((nums[j] - nums[i]) > k) {
                        System.out.println(":(");
                        return;
                    }
                }
            } for (int j = i + 1; j < 5; j++) {
                    if ((nums[j] - nums[i]) > k) {
                        System.out.println(":(");
                        return;
                    }
                } int j = i + 1; int j = i + 1; j i + 1 i 1 j < 5 j 5 j++ j++ j {
                    if ((nums[j] - nums[i]) > k) {
                        System.out.println(":(");
                        return;
                    }
                } {
                    if ((nums[j] - nums[i]) > k) {
                        System.out.println(":(");
                        return;
                    }
                } if ((nums[j] - nums[i]) > k) {
                        System.out.println(":(");
                        return;
                    } (nums[j] - nums[i]) > k (nums[j] - nums[i]) nums[j] nums j nums[i] nums i k {
                        System.out.println(":(");
                        return;
                    } System.out.println(":(") System.out.println System.out System System.out ":(" return; System.out.println("Yay!") System.out.println System.out System System.out "Yay!" final String[] args args public class Main {

    public static void main(final String[] args) {
        try (final Scanner sc = new Scanner(System.in)) {
            final int[] nums = new int[5];
            for (int i = 0; i < nums.length; i++) {
                nums[i] = sc.nextInt();
            }
            final int k = sc.nextInt();

            for (int i = 0; i < 5; i++) {
                for (int j = i + 1; j < 5; j++) {
                    if ((nums[j] - nums[i]) > k) {
                        System.out.println(":(");
                        return;
                    }
                }
            }
            System.out.println("Yay!");
        }
    }
} public class Main {

    public static void main(final String[] args) {
        try (final Scanner sc = new Scanner(System.in)) {
            final int[] nums = new int[5];
            for (int i = 0; i < nums.length; i++) {
                nums[i] = sc.nextInt();
            }
            final int k = sc.nextInt();

            for (int i = 0; i < 5; i++) {
                for (int j = i + 1; j < 5; j++) {
                    if ((nums[j] - nums[i]) > k) {
                        System.out.println(":(");
                        return;
                    }
                }
            }
            System.out.println("Yay!");
        }
    }
} Main


import java.util.Scanner;

public class Main {

    public static void main(final String[] args) {
        try (final Scanner sc = new Scanner(System.in)) {
            final int[] nums = new int[5];
            for (int i = 0; i < nums.length; i++) {
                nums[i] = sc.nextInt();
            }
            final int k = sc.nextInt();

            for (int i = 0; i < 5; i++) {
                for (int j = i + 1; j < 5; j++) {
                    if ((nums[j] - nums[i]) > k) {
                        System.out.println(":(");
                        return;
                    }
                }
            }
            System.out.println("Yay!");
        }
    }
}
