import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

    private static final int ANTENNA_COUNT = 5;

    public static void main(String[] args) throws Exception {
        try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
            int[] antennas = new int[ANTENNA_COUNT];
            for (int i = 0; i < ANTENNA_COUNT; ++i) {
                antennas[i] = Integer.parseInt(reader.readLine());
            }
            int maxDistance = Integer.parseInt(reader.readLine());
            test(antennas, maxDistance);
        }
    }

    public static void test(int[] antennas, int maxDistance) {
        int offset = 0;
        for (int a = 0; a < ANTENNA_COUNT; ++a) {
            ++offset;
            for (int b = offset; b < ANTENNA_COUNT; ++b) {
                int distance = antennas[b] - antennas[a];
                if (distance > maxDistance) {
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }

} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

    private static final int ANTENNA_COUNT = 5;

    public static void main(String[] args) throws Exception {
        try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
            int[] antennas = new int[ANTENNA_COUNT];
            for (int i = 0; i < ANTENNA_COUNT; ++i) {
                antennas[i] = Integer.parseInt(reader.readLine());
            }
            int maxDistance = Integer.parseInt(reader.readLine());
            test(antennas, maxDistance);
        }
    }

    public static void test(int[] antennas, int maxDistance) {
        int offset = 0;
        for (int a = 0; a < ANTENNA_COUNT; ++a) {
            ++offset;
            for (int b = offset; b < ANTENNA_COUNT; ++b) {
                int distance = antennas[b] - antennas[a];
                if (distance > maxDistance) {
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }

} Main private static final int ANTENNA_COUNT = 5; ANTENNA_COUNT 5 public static void main(String[] args) throws Exception {
        try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
            int[] antennas = new int[ANTENNA_COUNT];
            for (int i = 0; i < ANTENNA_COUNT; ++i) {
                antennas[i] = Integer.parseInt(reader.readLine());
            }
            int maxDistance = Integer.parseInt(reader.readLine());
            test(antennas, maxDistance);
        }
    } main {
        try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
            int[] antennas = new int[ANTENNA_COUNT];
            for (int i = 0; i < ANTENNA_COUNT; ++i) {
                antennas[i] = Integer.parseInt(reader.readLine());
            }
            int maxDistance = Integer.parseInt(reader.readLine());
            test(antennas, maxDistance);
        }
    } try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
            int[] antennas = new int[ANTENNA_COUNT];
            for (int i = 0; i < ANTENNA_COUNT; ++i) {
                antennas[i] = Integer.parseInt(reader.readLine());
            }
            int maxDistance = Integer.parseInt(reader.readLine());
            test(antennas, maxDistance);
        } {
            int[] antennas = new int[ANTENNA_COUNT];
            for (int i = 0; i < ANTENNA_COUNT; ++i) {
                antennas[i] = Integer.parseInt(reader.readLine());
            }
            int maxDistance = Integer.parseInt(reader.readLine());
            test(antennas, maxDistance);
        } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)) BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)) new BufferedReader(new InputStreamReader(System.in)) int[] antennas = new int[ANTENNA_COUNT]; antennas new int[ANTENNA_COUNT] ANTENNA_COUNT for (int i = 0; i < ANTENNA_COUNT; ++i) {
                antennas[i] = Integer.parseInt(reader.readLine());
            } int i = 0; int i = 0; i 0 i < ANTENNA_COUNT i ANTENNA_COUNT ++i ++i i {
                antennas[i] = Integer.parseInt(reader.readLine());
            } {
                antennas[i] = Integer.parseInt(reader.readLine());
            } antennas[i] = Integer.parseInt(reader.readLine()) antennas[i] antennas i Integer.parseInt(reader.readLine()) Integer.parseInt Integer reader.readLine() reader.readLine reader int maxDistance = Integer.parseInt(reader.readLine()); maxDistance Integer.parseInt(reader.readLine()) Integer.parseInt Integer reader.readLine() reader.readLine reader test(antennas, maxDistance) test antennas maxDistance String[] args args public static void test(int[] antennas, int maxDistance) {
        int offset = 0;
        for (int a = 0; a < ANTENNA_COUNT; ++a) {
            ++offset;
            for (int b = offset; b < ANTENNA_COUNT; ++b) {
                int distance = antennas[b] - antennas[a];
                if (distance > maxDistance) {
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    } test {
        int offset = 0;
        for (int a = 0; a < ANTENNA_COUNT; ++a) {
            ++offset;
            for (int b = offset; b < ANTENNA_COUNT; ++b) {
                int distance = antennas[b] - antennas[a];
                if (distance > maxDistance) {
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    } int offset = 0; offset 0 for (int a = 0; a < ANTENNA_COUNT; ++a) {
            ++offset;
            for (int b = offset; b < ANTENNA_COUNT; ++b) {
                int distance = antennas[b] - antennas[a];
                if (distance > maxDistance) {
                    System.out.println(":(");
                    return;
                }
            }
        } int a = 0; int a = 0; a 0 a < ANTENNA_COUNT a ANTENNA_COUNT ++a ++a a {
            ++offset;
            for (int b = offset; b < ANTENNA_COUNT; ++b) {
                int distance = antennas[b] - antennas[a];
                if (distance > maxDistance) {
                    System.out.println(":(");
                    return;
                }
            }
        } {
            ++offset;
            for (int b = offset; b < ANTENNA_COUNT; ++b) {
                int distance = antennas[b] - antennas[a];
                if (distance > maxDistance) {
                    System.out.println(":(");
                    return;
                }
            }
        } ++offset offset for (int b = offset; b < ANTENNA_COUNT; ++b) {
                int distance = antennas[b] - antennas[a];
                if (distance > maxDistance) {
                    System.out.println(":(");
                    return;
                }
            } int b = offset; int b = offset; b offset b < ANTENNA_COUNT b ANTENNA_COUNT ++b ++b b {
                int distance = antennas[b] - antennas[a];
                if (distance > maxDistance) {
                    System.out.println(":(");
                    return;
                }
            } {
                int distance = antennas[b] - antennas[a];
                if (distance > maxDistance) {
                    System.out.println(":(");
                    return;
                }
            } int distance = antennas[b] - antennas[a]; distance antennas[b] - antennas[a] antennas[b] antennas b antennas[a] antennas a if (distance > maxDistance) {
                    System.out.println(":(");
                    return;
                } distance > maxDistance distance maxDistance {
                    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!" int[] antennas antennas int maxDistance maxDistance public class Main {

    private static final int ANTENNA_COUNT = 5;

    public static void main(String[] args) throws Exception {
        try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
            int[] antennas = new int[ANTENNA_COUNT];
            for (int i = 0; i < ANTENNA_COUNT; ++i) {
                antennas[i] = Integer.parseInt(reader.readLine());
            }
            int maxDistance = Integer.parseInt(reader.readLine());
            test(antennas, maxDistance);
        }
    }

    public static void test(int[] antennas, int maxDistance) {
        int offset = 0;
        for (int a = 0; a < ANTENNA_COUNT; ++a) {
            ++offset;
            for (int b = offset; b < ANTENNA_COUNT; ++b) {
                int distance = antennas[b] - antennas[a];
                if (distance > maxDistance) {
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }

} public class Main {

    private static final int ANTENNA_COUNT = 5;

    public static void main(String[] args) throws Exception {
        try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
            int[] antennas = new int[ANTENNA_COUNT];
            for (int i = 0; i < ANTENNA_COUNT; ++i) {
                antennas[i] = Integer.parseInt(reader.readLine());
            }
            int maxDistance = Integer.parseInt(reader.readLine());
            test(antennas, maxDistance);
        }
    }

    public static void test(int[] antennas, int maxDistance) {
        int offset = 0;
        for (int a = 0; a < ANTENNA_COUNT; ++a) {
            ++offset;
            for (int b = offset; b < ANTENNA_COUNT; ++b) {
                int distance = antennas[b] - antennas[a];
                if (distance > maxDistance) {
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }

} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

    private static final int ANTENNA_COUNT = 5;

    public static void main(String[] args) throws Exception {
        try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
            int[] antennas = new int[ANTENNA_COUNT];
            for (int i = 0; i < ANTENNA_COUNT; ++i) {
                antennas[i] = Integer.parseInt(reader.readLine());
            }
            int maxDistance = Integer.parseInt(reader.readLine());
            test(antennas, maxDistance);
        }
    }

    public static void test(int[] antennas, int maxDistance) {
        int offset = 0;
        for (int a = 0; a < ANTENNA_COUNT; ++a) {
            ++offset;
            for (int b = offset; b < ANTENNA_COUNT; ++b) {
                int distance = antennas[b] - antennas[a];
                if (distance > maxDistance) {
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }

}
