import java.util.*;
import java.io.*;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        int[] antenna = new int[5];
        for (int i = 0; i < 5; i++) {
            antenna[i] = Integer.parseInt(sc.next());
        }
        int k = Integer.parseInt(sc.next());

        boolean result = true;
        for (int i = 0; i < 5; i++) {
            for (int j = i + 1; j < 5; j++) {
                if (Math.abs(antenna[i] - antenna[j]) > k) {
                    result = false;
                    break;
                }
            }
            if (result == false) {
                break;
            }
        }
        if (result) {
            out.printf("Yay!\n");
        } else {
            out.printf(":(\n");
        }
        out.flush();
    }
} import java.util.*; util.* java import java.io.*; io.* java class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        int[] antenna = new int[5];
        for (int i = 0; i < 5; i++) {
            antenna[i] = Integer.parseInt(sc.next());
        }
        int k = Integer.parseInt(sc.next());

        boolean result = true;
        for (int i = 0; i < 5; i++) {
            for (int j = i + 1; j < 5; j++) {
                if (Math.abs(antenna[i] - antenna[j]) > k) {
                    result = false;
                    break;
                }
            }
            if (result == false) {
                break;
            }
        }
        if (result) {
            out.printf("Yay!\n");
        } else {
            out.printf(":(\n");
        }
        out.flush();
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        int[] antenna = new int[5];
        for (int i = 0; i < 5; i++) {
            antenna[i] = Integer.parseInt(sc.next());
        }
        int k = Integer.parseInt(sc.next());

        boolean result = true;
        for (int i = 0; i < 5; i++) {
            for (int j = i + 1; j < 5; j++) {
                if (Math.abs(antenna[i] - antenna[j]) > k) {
                    result = false;
                    break;
                }
            }
            if (result == false) {
                break;
            }
        }
        if (result) {
            out.printf("Yay!\n");
        } else {
            out.printf(":(\n");
        }
        out.flush();
    } main {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        int[] antenna = new int[5];
        for (int i = 0; i < 5; i++) {
            antenna[i] = Integer.parseInt(sc.next());
        }
        int k = Integer.parseInt(sc.next());

        boolean result = true;
        for (int i = 0; i < 5; i++) {
            for (int j = i + 1; j < 5; j++) {
                if (Math.abs(antenna[i] - antenna[j]) > k) {
                    result = false;
                    break;
                }
            }
            if (result == false) {
                break;
            }
        }
        if (result) {
            out.printf("Yay!\n");
        } else {
            out.printf(":(\n");
        }
        out.flush();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) int[] antenna = new int[5]; antenna new int[5] 5 for (int i = 0; i < 5; i++) {
            antenna[i] = Integer.parseInt(sc.next());
        } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
            antenna[i] = Integer.parseInt(sc.next());
        } {
            antenna[i] = Integer.parseInt(sc.next());
        } antenna[i] = Integer.parseInt(sc.next()) antenna[i] antenna i Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int k = Integer.parseInt(sc.next()); k Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc boolean result = true; result true for (int i = 0; i < 5; i++) {
            for (int j = i + 1; j < 5; j++) {
                if (Math.abs(antenna[i] - antenna[j]) > k) {
                    result = false;
                    break;
                }
            }
            if (result == false) {
                break;
            }
        } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
            for (int j = i + 1; j < 5; j++) {
                if (Math.abs(antenna[i] - antenna[j]) > k) {
                    result = false;
                    break;
                }
            }
            if (result == false) {
                break;
            }
        } {
            for (int j = i + 1; j < 5; j++) {
                if (Math.abs(antenna[i] - antenna[j]) > k) {
                    result = false;
                    break;
                }
            }
            if (result == false) {
                break;
            }
        } for (int j = i + 1; j < 5; j++) {
                if (Math.abs(antenna[i] - antenna[j]) > k) {
                    result = false;
                    break;
                }
            } int j = i + 1; int j = i + 1; j i + 1 i 1 j < 5 j 5 j++ j++ j {
                if (Math.abs(antenna[i] - antenna[j]) > k) {
                    result = false;
                    break;
                }
            } {
                if (Math.abs(antenna[i] - antenna[j]) > k) {
                    result = false;
                    break;
                }
            } if (Math.abs(antenna[i] - antenna[j]) > k) {
                    result = false;
                    break;
                } Math.abs(antenna[i] - antenna[j]) > k Math.abs(antenna[i] - antenna[j]) Math.abs Math antenna[i] - antenna[j] antenna[i] antenna i antenna[j] antenna j k {
                    result = false;
                    break;
                } result = false result false break; if (result == false) {
                break;
            } result == false result false {
                break;
            } break; if (result) {
            out.printf("Yay!\n");
        } else {
            out.printf(":(\n");
        } result {
            out.printf("Yay!\n");
        } out.printf("Yay!\n") out.printf out "Yay!\n" {
            out.printf(":(\n");
        } out.printf(":(\n") out.printf out ":(\n" out.flush() out.flush out String[] args args
import java.util.*;
import java.io.*;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        int[] antenna = new int[5];
        for (int i = 0; i < 5; i++) {
            antenna[i] = Integer.parseInt(sc.next());
        }
        int k = Integer.parseInt(sc.next());

        boolean result = true;
        for (int i = 0; i < 5; i++) {
            for (int j = i + 1; j < 5; j++) {
                if (Math.abs(antenna[i] - antenna[j]) > k) {
                    result = false;
                    break;
                }
            }
            if (result == false) {
                break;
            }
        }
        if (result) {
            out.printf("Yay!\n");
        } else {
            out.printf(":(\n");
        }
        out.flush();
    }
}
