import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        int[] antenas = new int[5];
        for (int i = 0; i < 5; i++) {
            antenas[i] = sc.nextInt();
        }

        int k = sc.nextInt();

        for (int i = 0; i < 4; i++) {
            for (int j = i; j < 5; j++) {
                if (Math.abs(antenas[i] - antenas[j]) > k) {
                    System.out.println(":(");
                    return;
                }
            }
        }

        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[] antenas = new int[5];
        for (int i = 0; i < 5; i++) {
            antenas[i] = sc.nextInt();
        }

        int k = sc.nextInt();

        for (int i = 0; i < 4; i++) {
            for (int j = i; j < 5; j++) {
                if (Math.abs(antenas[i] - antenas[j]) > k) {
                    System.out.println(":(");
                    return;
                }
            }
        }

        System.out.println("Yay!");
    }
} Main public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        int[] antenas = new int[5];
        for (int i = 0; i < 5; i++) {
            antenas[i] = sc.nextInt();
        }

        int k = sc.nextInt();

        for (int i = 0; i < 4; i++) {
            for (int j = i; j < 5; j++) {
                if (Math.abs(antenas[i] - antenas[j]) > k) {
                    System.out.println(":(");
                    return;
                }
            }
        }

        System.out.println("Yay!");
    } main {

        Scanner sc = new Scanner(System.in);

        int[] antenas = new int[5];
        for (int i = 0; i < 5; i++) {
            antenas[i] = sc.nextInt();
        }

        int k = sc.nextInt();

        for (int i = 0; i < 4; i++) {
            for (int j = i; j < 5; j++) {
                if (Math.abs(antenas[i] - antenas[j]) > k) {
                    System.out.println(":(");
                    return;
                }
            }
        }

        System.out.println("Yay!");
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] antenas = new int[5]; antenas new int[5] 5 for (int i = 0; i < 5; i++) {
            antenas[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
            antenas[i] = sc.nextInt();
        } {
            antenas[i] = sc.nextInt();
        } antenas[i] = sc.nextInt() antenas[i] antenas i sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc for (int i = 0; i < 4; i++) {
            for (int j = i; j < 5; j++) {
                if (Math.abs(antenas[i] - antenas[j]) > k) {
                    System.out.println(":(");
                    return;
                }
            }
        } int i = 0; int i = 0; i 0 i < 4 i 4 i++ i++ i {
            for (int j = i; j < 5; j++) {
                if (Math.abs(antenas[i] - antenas[j]) > k) {
                    System.out.println(":(");
                    return;
                }
            }
        } {
            for (int j = i; j < 5; j++) {
                if (Math.abs(antenas[i] - antenas[j]) > k) {
                    System.out.println(":(");
                    return;
                }
            }
        } for (int j = i; j < 5; j++) {
                if (Math.abs(antenas[i] - antenas[j]) > k) {
                    System.out.println(":(");
                    return;
                }
            } int j = i; int j = i; j i j < 5 j 5 j++ j++ j {
                if (Math.abs(antenas[i] - antenas[j]) > k) {
                    System.out.println(":(");
                    return;
                }
            } {
                if (Math.abs(antenas[i] - antenas[j]) > k) {
                    System.out.println(":(");
                    return;
                }
            } if (Math.abs(antenas[i] - antenas[j]) > k) {
                    System.out.println(":(");
                    return;
                } Math.abs(antenas[i] - antenas[j]) > k Math.abs(antenas[i] - antenas[j]) Math.abs Math antenas[i] - antenas[j] antenas[i] antenas i antenas[j] antenas j 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!" String[] args args public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        int[] antenas = new int[5];
        for (int i = 0; i < 5; i++) {
            antenas[i] = sc.nextInt();
        }

        int k = sc.nextInt();

        for (int i = 0; i < 4; i++) {
            for (int j = i; j < 5; j++) {
                if (Math.abs(antenas[i] - antenas[j]) > k) {
                    System.out.println(":(");
                    return;
                }
            }
        }

        System.out.println("Yay!");
    }
} public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        int[] antenas = new int[5];
        for (int i = 0; i < 5; i++) {
            antenas[i] = sc.nextInt();
        }

        int k = sc.nextInt();

        for (int i = 0; i < 4; i++) {
            for (int j = i; j < 5; j++) {
                if (Math.abs(antenas[i] - antenas[j]) > k) {
                    System.out.println(":(");
                    return;
                }
            }
        }

        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[] antenas = new int[5];
        for (int i = 0; i < 5; i++) {
            antenas[i] = sc.nextInt();
        }

        int k = sc.nextInt();

        for (int i = 0; i < 4; i++) {
            for (int j = i; j < 5; j++) {
                if (Math.abs(antenas[i] - antenas[j]) > k) {
                    System.out.println(":(");
                    return;
                }
            }
        }

        System.out.println("Yay!");
    }
}
