import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        
        int a = Integer.parseInt(sc.next());
        sc.next();
        sc.next();
        sc.next();
        int e = Integer.parseInt(sc.next());
        int k = Integer.parseInt(sc.next());
        
        if(e-a > k){
            System.out.println(":(");
        }else{
            System.out.println("Yay!");
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        
        int a = Integer.parseInt(sc.next());
        sc.next();
        sc.next();
        sc.next();
        int e = Integer.parseInt(sc.next());
        int k = Integer.parseInt(sc.next());
        
        if(e-a > k){
            System.out.println(":(");
        }else{
            System.out.println("Yay!");
        }
    }
} Main public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        
        int a = Integer.parseInt(sc.next());
        sc.next();
        sc.next();
        sc.next();
        int e = Integer.parseInt(sc.next());
        int k = Integer.parseInt(sc.next());
        
        if(e-a > k){
            System.out.println(":(");
        }else{
            System.out.println("Yay!");
        }
    } main {
        
        Scanner sc = new Scanner(System.in);
        
        int a = Integer.parseInt(sc.next());
        sc.next();
        sc.next();
        sc.next();
        int e = Integer.parseInt(sc.next());
        int k = Integer.parseInt(sc.next());
        
        if(e-a > k){
            System.out.println(":(");
        }else{
            System.out.println("Yay!");
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = Integer.parseInt(sc.next()); a Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc sc.next() sc.next sc sc.next() sc.next sc sc.next() sc.next sc int e = Integer.parseInt(sc.next()); e Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int k = Integer.parseInt(sc.next()); k Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc if(e-a > k){
            System.out.println(":(");
        }else{
            System.out.println("Yay!");
        } e-a > k e-a e a 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!" String[] args args public class Main {

    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        
        int a = Integer.parseInt(sc.next());
        sc.next();
        sc.next();
        sc.next();
        int e = Integer.parseInt(sc.next());
        int k = Integer.parseInt(sc.next());
        
        if(e-a > 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 = Integer.parseInt(sc.next());
        sc.next();
        sc.next();
        sc.next();
        int e = Integer.parseInt(sc.next());
        int k = Integer.parseInt(sc.next());
        
        if(e-a > k){
            System.out.println(":(");
        }else{
            System.out.println("Yay!");
        }
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        
        int a = Integer.parseInt(sc.next());
        sc.next();
        sc.next();
        sc.next();
        int e = Integer.parseInt(sc.next());
        int k = Integer.parseInt(sc.next());
        
        if(e-a > k){
            System.out.println(":(");
        }else{
            System.out.println("Yay!");
        }
    }
}