import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int[] antennas = new int[5];
        for (int i = 0; i < 5; i++) {
            antennas[i] = sc.nextInt();
        }
        int k = sc.nextInt();
        for (int i = 0; i < 5; i++) {
            for (int j = i; j < 5; j++) {
                if (i == j) continue;
                int dist = Math.abs(antennas[i] - antennas[j]);
                if (dist > k) {
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int[] antennas = new int[5];
        for (int i = 0; i < 5; i++) {
            antennas[i] = sc.nextInt();
        }
        int k = sc.nextInt();
        for (int i = 0; i < 5; i++) {
            for (int j = i; j < 5; j++) {
                if (i == j) continue;
                int dist = Math.abs(antennas[i] - antennas[j]);
                if (dist > k) {
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }
} Main public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int[] antennas = new int[5];
        for (int i = 0; i < 5; i++) {
            antennas[i] = sc.nextInt();
        }
        int k = sc.nextInt();
        for (int i = 0; i < 5; i++) {
            for (int j = i; j < 5; j++) {
                if (i == j) continue;
                int dist = Math.abs(antennas[i] - antennas[j]);
                if (dist > k) {
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    } main {
        Scanner sc = new Scanner(System.in);
        int[] antennas = new int[5];
        for (int i = 0; i < 5; i++) {
            antennas[i] = sc.nextInt();
        }
        int k = sc.nextInt();
        for (int i = 0; i < 5; i++) {
            for (int j = i; j < 5; j++) {
                if (i == j) continue;
                int dist = Math.abs(antennas[i] - antennas[j]);
                if (dist > k) {
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] antennas = new int[5]; antennas new int[5] 5 for (int i = 0; i < 5; i++) {
            antennas[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
            antennas[i] = sc.nextInt();
        } {
            antennas[i] = sc.nextInt();
        } antennas[i] = sc.nextInt() antennas[i] antennas i sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc for (int i = 0; i < 5; i++) {
            for (int j = i; j < 5; j++) {
                if (i == j) continue;
                int dist = Math.abs(antennas[i] - antennas[j]);
                if (dist > k) {
                    System.out.println(":(");
                    return;
                }
            }
        } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
            for (int j = i; j < 5; j++) {
                if (i == j) continue;
                int dist = Math.abs(antennas[i] - antennas[j]);
                if (dist > k) {
                    System.out.println(":(");
                    return;
                }
            }
        } {
            for (int j = i; j < 5; j++) {
                if (i == j) continue;
                int dist = Math.abs(antennas[i] - antennas[j]);
                if (dist > k) {
                    System.out.println(":(");
                    return;
                }
            }
        } for (int j = i; j < 5; j++) {
                if (i == j) continue;
                int dist = Math.abs(antennas[i] - antennas[j]);
                if (dist > k) {
                    System.out.println(":(");
                    return;
                }
            } int j = i; int j = i; j i j < 5 j 5 j++ j++ j {
                if (i == j) continue;
                int dist = Math.abs(antennas[i] - antennas[j]);
                if (dist > k) {
                    System.out.println(":(");
                    return;
                }
            } {
                if (i == j) continue;
                int dist = Math.abs(antennas[i] - antennas[j]);
                if (dist > k) {
                    System.out.println(":(");
                    return;
                }
            } if (i == j) continue; i == j i j continue; int dist = Math.abs(antennas[i] - antennas[j]); dist Math.abs(antennas[i] - antennas[j]) Math.abs Math antennas[i] - antennas[j] antennas[i] antennas i antennas[j] antennas j if (dist > k) {
                    System.out.println(":(");
                    return;
                } dist > k dist 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) throws Exception {
        Scanner sc = new Scanner(System.in);
        int[] antennas = new int[5];
        for (int i = 0; i < 5; i++) {
            antennas[i] = sc.nextInt();
        }
        int k = sc.nextInt();
        for (int i = 0; i < 5; i++) {
            for (int j = i; j < 5; j++) {
                if (i == j) continue;
                int dist = Math.abs(antennas[i] - antennas[j]);
                if (dist > k) {
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int[] antennas = new int[5];
        for (int i = 0; i < 5; i++) {
            antennas[i] = sc.nextInt();
        }
        int k = sc.nextInt();
        for (int i = 0; i < 5; i++) {
            for (int j = i; j < 5; j++) {
                if (i == j) continue;
                int dist = Math.abs(antennas[i] - antennas[j]);
                if (dist > k) {
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int[] antennas = new int[5];
        for (int i = 0; i < 5; i++) {
            antennas[i] = sc.nextInt();
        }
        int k = sc.nextInt();
        for (int i = 0; i < 5; i++) {
            for (int j = i; j < 5; j++) {
                if (i == j) continue;
                int dist = Math.abs(antennas[i] - antennas[j]);
                if (dist > k) {
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }
}
