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

public class Main {
    public static void main(String[] args)throws Exception {
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        int [] values = new int[5];
        for (int i = 0; i < 5; i++) {
            values[i] = Integer.parseInt(input.readLine());
        }
        int k = Integer.parseInt(input.readLine());

        for (int i = 0; i < 5; i++) {
            for (int j = i+1; j < 5; j++) {
                if (Math.abs(values[i] - values[j]) > k){
                    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 {
    public static void main(String[] args)throws Exception {
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        int [] values = new int[5];
        for (int i = 0; i < 5; i++) {
            values[i] = Integer.parseInt(input.readLine());
        }
        int k = Integer.parseInt(input.readLine());

        for (int i = 0; i < 5; i++) {
            for (int j = i+1; j < 5; j++) {
                if (Math.abs(values[i] - values[j]) > k){
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }
} Main public static void main(String[] args)throws Exception {
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        int [] values = new int[5];
        for (int i = 0; i < 5; i++) {
            values[i] = Integer.parseInt(input.readLine());
        }
        int k = Integer.parseInt(input.readLine());

        for (int i = 0; i < 5; i++) {
            for (int j = i+1; j < 5; j++) {
                if (Math.abs(values[i] - values[j]) > k){
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    } main {
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        int [] values = new int[5];
        for (int i = 0; i < 5; i++) {
            values[i] = Integer.parseInt(input.readLine());
        }
        int k = Integer.parseInt(input.readLine());

        for (int i = 0; i < 5; i++) {
            for (int j = i+1; j < 5; j++) {
                if (Math.abs(values[i] - values[j]) > k){
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    } BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); input new BufferedReader(new InputStreamReader(System.in)) int [] values = new int[5]; values new int[5] 5 for (int i = 0; i < 5; i++) {
            values[i] = Integer.parseInt(input.readLine());
        } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
            values[i] = Integer.parseInt(input.readLine());
        } {
            values[i] = Integer.parseInt(input.readLine());
        } values[i] = Integer.parseInt(input.readLine()) values[i] values i Integer.parseInt(input.readLine()) Integer.parseInt Integer input.readLine() input.readLine input int k = Integer.parseInt(input.readLine()); k Integer.parseInt(input.readLine()) Integer.parseInt Integer input.readLine() input.readLine input for (int i = 0; i < 5; i++) {
            for (int j = i+1; j < 5; j++) {
                if (Math.abs(values[i] - values[j]) > 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 (Math.abs(values[i] - values[j]) > k){
                    System.out.println(":(");
                    return;
                }
            }
        } {
            for (int j = i+1; j < 5; j++) {
                if (Math.abs(values[i] - values[j]) > k){
                    System.out.println(":(");
                    return;
                }
            }
        } for (int j = i+1; j < 5; j++) {
                if (Math.abs(values[i] - values[j]) > 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 (Math.abs(values[i] - values[j]) > k){
                    System.out.println(":(");
                    return;
                }
            } {
                if (Math.abs(values[i] - values[j]) > k){
                    System.out.println(":(");
                    return;
                }
            } if (Math.abs(values[i] - values[j]) > k){
                    System.out.println(":(");
                    return;
                } Math.abs(values[i] - values[j]) > k Math.abs(values[i] - values[j]) Math.abs Math values[i] - values[j] values[i] values i values[j] values 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)throws Exception {
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        int [] values = new int[5];
        for (int i = 0; i < 5; i++) {
            values[i] = Integer.parseInt(input.readLine());
        }
        int k = Integer.parseInt(input.readLine());

        for (int i = 0; i < 5; i++) {
            for (int j = i+1; j < 5; j++) {
                if (Math.abs(values[i] - values[j]) > k){
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }
} public class Main {
    public static void main(String[] args)throws Exception {
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        int [] values = new int[5];
        for (int i = 0; i < 5; i++) {
            values[i] = Integer.parseInt(input.readLine());
        }
        int k = Integer.parseInt(input.readLine());

        for (int i = 0; i < 5; i++) {
            for (int j = i+1; j < 5; j++) {
                if (Math.abs(values[i] - values[j]) > k){
                    System.out.println(":(");
                    return;
                }
            }
        }
        System.out.println("Yay!");
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args)throws Exception {
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        int [] values = new int[5];
        for (int i = 0; i < 5; i++) {
            values[i] = Integer.parseInt(input.readLine());
        }
        int k = Integer.parseInt(input.readLine());

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