import java.util.*;

public class Main {
    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[5];
        for(int i = 0; i < 5; i++) {
            a[i] = sc.nextInt();
        }
        int k = sc.nextInt();

        int max = 0;
        for(int i = 0; i < 5; i++) {
            for(int j = 0; j < 5; j++) {
                max = Math.max(Math.abs(a[i] - a[j]), max);
            }
        }

        if(max > k) System.out.println(":(");
        else System.out.println("Yay!");
        
    } 
} import java.util.*; util.* java public class Main {
    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[5];
        for(int i = 0; i < 5; i++) {
            a[i] = sc.nextInt();
        }
        int k = sc.nextInt();

        int max = 0;
        for(int i = 0; i < 5; i++) {
            for(int j = 0; j < 5; j++) {
                max = Math.max(Math.abs(a[i] - a[j]), max);
            }
        }

        if(max > k) System.out.println(":(");
        else System.out.println("Yay!");
        
    } 
} Main public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[5];
        for(int i = 0; i < 5; i++) {
            a[i] = sc.nextInt();
        }
        int k = sc.nextInt();

        int max = 0;
        for(int i = 0; i < 5; i++) {
            for(int j = 0; j < 5; j++) {
                max = Math.max(Math.abs(a[i] - a[j]), max);
            }
        }

        if(max > k) System.out.println(":(");
        else System.out.println("Yay!");
        
    } main {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[5];
        for(int i = 0; i < 5; i++) {
            a[i] = sc.nextInt();
        }
        int k = sc.nextInt();

        int max = 0;
        for(int i = 0; i < 5; i++) {
            for(int j = 0; j < 5; j++) {
                max = Math.max(Math.abs(a[i] - a[j]), max);
            }
        }

        if(max > k) System.out.println(":(");
        else System.out.println("Yay!");
        
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] a = new int[5]; a new int[5] 5 for(int i = 0; i < 5; i++) {
            a[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
            a[i] = sc.nextInt();
        } {
            a[i] = sc.nextInt();
        } a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc int max = 0; max 0 for(int i = 0; i < 5; i++) {
            for(int j = 0; j < 5; j++) {
                max = Math.max(Math.abs(a[i] - a[j]), max);
            }
        } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
            for(int j = 0; j < 5; j++) {
                max = Math.max(Math.abs(a[i] - a[j]), max);
            }
        } {
            for(int j = 0; j < 5; j++) {
                max = Math.max(Math.abs(a[i] - a[j]), max);
            }
        } for(int j = 0; j < 5; j++) {
                max = Math.max(Math.abs(a[i] - a[j]), max);
            } int j = 0; int j = 0; j 0 j < 5 j 5 j++ j++ j {
                max = Math.max(Math.abs(a[i] - a[j]), max);
            } {
                max = Math.max(Math.abs(a[i] - a[j]), max);
            } max = Math.max(Math.abs(a[i] - a[j]), max) max Math.max(Math.abs(a[i] - a[j]), max) Math.max Math Math.abs(a[i] - a[j]) Math.abs Math a[i] - a[j] a[i] a i a[j] a j max if(max > k) System.out.println(":(");
        else System.out.println("Yay!"); max > k max k System.out.println(":(") System.out.println System.out System System.out ":(" 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[] a = new int[5];
        for(int i = 0; i < 5; i++) {
            a[i] = sc.nextInt();
        }
        int k = sc.nextInt();

        int max = 0;
        for(int i = 0; i < 5; i++) {
            for(int j = 0; j < 5; j++) {
                max = Math.max(Math.abs(a[i] - a[j]), max);
            }
        }

        if(max > k) System.out.println(":(");
        else System.out.println("Yay!");
        
    } 
} public class Main {
    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[5];
        for(int i = 0; i < 5; i++) {
            a[i] = sc.nextInt();
        }
        int k = sc.nextInt();

        int max = 0;
        for(int i = 0; i < 5; i++) {
            for(int j = 0; j < 5; j++) {
                max = Math.max(Math.abs(a[i] - a[j]), max);
            }
        }

        if(max > k) System.out.println(":(");
        else System.out.println("Yay!");
        
    } 
} Main
import java.util.*;

public class Main {
    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[5];
        for(int i = 0; i < 5; i++) {
            a[i] = sc.nextInt();
        }
        int k = sc.nextInt();

        int max = 0;
        for(int i = 0; i < 5; i++) {
            for(int j = 0; j < 5; j++) {
                max = Math.max(Math.abs(a[i] - a[j]), max);
            }
        }

        if(max > k) System.out.println(":(");
        else System.out.println("Yay!");
        
    } 
}