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