import java.util.Scanner;
public class Main {

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

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

} public class Main {

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

}
