import java.util.Scanner;
public class Main{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int b[] = new int[6];
        int count = 0;

        for (int i = 0; i < 6; i++) {
            b[i] = scan.nextInt();
        }

        if( (b[1]-b[0]> b[5]) || (b[2]-b[0] > b[5]) || (b[3]-b[0] > b[5]) || (b[4]-b[0] > b[5]) ){
            count = 1;
        }

        if( (b[2]-b[1] > b[5]) || (b[3]-b[1] > b[5]) || (b[4]-b[1] > b[5]) ){
            count = 1;
        }

        if( (b[3]-b[2] > b[5]) || (b[4]-b[2] > b[5]) ){
            count = 1;
        }

        if( (b[4]-b[3] > b[5]) ){
            count = 1;
        }

        if(count == 0){            
            System.out.println("Yay!");
        }
        else{
            System.out.println(":(");
        }
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int b[] = new int[6];
        int count = 0;

        for (int i = 0; i < 6; i++) {
            b[i] = scan.nextInt();
        }

        if( (b[1]-b[0]> b[5]) || (b[2]-b[0] > b[5]) || (b[3]-b[0] > b[5]) || (b[4]-b[0] > b[5]) ){
            count = 1;
        }

        if( (b[2]-b[1] > b[5]) || (b[3]-b[1] > b[5]) || (b[4]-b[1] > b[5]) ){
            count = 1;
        }

        if( (b[3]-b[2] > b[5]) || (b[4]-b[2] > b[5]) ){
            count = 1;
        }

        if( (b[4]-b[3] > b[5]) ){
            count = 1;
        }

        if(count == 0){            
            System.out.println("Yay!");
        }
        else{
            System.out.println(":(");
        }
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int b[] = new int[6];
        int count = 0;

        for (int i = 0; i < 6; i++) {
            b[i] = scan.nextInt();
        }

        if( (b[1]-b[0]> b[5]) || (b[2]-b[0] > b[5]) || (b[3]-b[0] > b[5]) || (b[4]-b[0] > b[5]) ){
            count = 1;
        }

        if( (b[2]-b[1] > b[5]) || (b[3]-b[1] > b[5]) || (b[4]-b[1] > b[5]) ){
            count = 1;
        }

        if( (b[3]-b[2] > b[5]) || (b[4]-b[2] > b[5]) ){
            count = 1;
        }

        if( (b[4]-b[3] > b[5]) ){
            count = 1;
        }

        if(count == 0){            
            System.out.println("Yay!");
        }
        else{
            System.out.println(":(");
        }
    } main {
        Scanner scan = new Scanner(System.in);
        int b[] = new int[6];
        int count = 0;

        for (int i = 0; i < 6; i++) {
            b[i] = scan.nextInt();
        }

        if( (b[1]-b[0]> b[5]) || (b[2]-b[0] > b[5]) || (b[3]-b[0] > b[5]) || (b[4]-b[0] > b[5]) ){
            count = 1;
        }

        if( (b[2]-b[1] > b[5]) || (b[3]-b[1] > b[5]) || (b[4]-b[1] > b[5]) ){
            count = 1;
        }

        if( (b[3]-b[2] > b[5]) || (b[4]-b[2] > b[5]) ){
            count = 1;
        }

        if( (b[4]-b[3] > b[5]) ){
            count = 1;
        }

        if(count == 0){            
            System.out.println("Yay!");
        }
        else{
            System.out.println(":(");
        }
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int b[] = new int[6]; b new int[6] 6 int count = 0; count 0 for (int i = 0; i < 6; i++) {
            b[i] = scan.nextInt();
        } int i = 0; int i = 0; i 0 i < 6 i 6 i++ i++ i {
            b[i] = scan.nextInt();
        } {
            b[i] = scan.nextInt();
        } b[i] = scan.nextInt() b[i] b i scan.nextInt() scan.nextInt scan if( (b[1]-b[0]> b[5]) || (b[2]-b[0] > b[5]) || (b[3]-b[0] > b[5]) || (b[4]-b[0] > b[5]) ){
            count = 1;
        } (b[1]-b[0]> b[5]) || (b[2]-b[0] > b[5]) || (b[3]-b[0] > b[5]) || (b[4]-b[0] > b[5]) (b[3]-b[0] > b[5]) (b[1]-b[0]> b[5]) || (b[2]-b[0] > b[5]) || (b[3]-b[0] > b[5]) || (b[4]-b[0] > b[5]) (b[1]-b[0]> b[5]) b[1]-b[0] b[1] b 1 b[0] b 0 b[5] b 5 (b[2]-b[0] > b[5]) b[2]-b[0] b[2] b 2 b[0] b 0 b[5] b 5 (b[3]-b[0] > b[5]) b[3]-b[0] b[3] b 3 b[0] b 0 b[5] b 5 (b[4]-b[0] > b[5]) b[4]-b[0] b[4] b 4 b[0] b 0 b[5] b 5 {
            count = 1;
        } count = 1 count 1 if( (b[2]-b[1] > b[5]) || (b[3]-b[1] > b[5]) || (b[4]-b[1] > b[5]) ){
            count = 1;
        } (b[2]-b[1] > b[5]) || (b[3]-b[1] > b[5]) || (b[4]-b[1] > b[5]) (b[2]-b[1] > b[5]) || (b[3]-b[1] > b[5]) || (b[4]-b[1] > b[5]) (b[2]-b[1] > b[5]) b[2]-b[1] b[2] b 2 b[1] b 1 b[5] b 5 (b[3]-b[1] > b[5]) b[3]-b[1] b[3] b 3 b[1] b 1 b[5] b 5 (b[4]-b[1] > b[5]) b[4]-b[1] b[4] b 4 b[1] b 1 b[5] b 5 {
            count = 1;
        } count = 1 count 1 if( (b[3]-b[2] > b[5]) || (b[4]-b[2] > b[5]) ){
            count = 1;
        } (b[3]-b[2] > b[5]) || (b[4]-b[2] > b[5]) (b[3]-b[2] > b[5]) b[3]-b[2] b[3] b 3 b[2] b 2 b[5] b 5 (b[4]-b[2] > b[5]) b[4]-b[2] b[4] b 4 b[2] b 2 b[5] b 5 {
            count = 1;
        } count = 1 count 1 if( (b[4]-b[3] > b[5]) ){
            count = 1;
        } (b[4]-b[3] > b[5]) b[4]-b[3] b[4] b 4 b[3] b 3 b[5] b 5 {
            count = 1;
        } count = 1 count 1 if(count == 0){            
            System.out.println("Yay!");
        }
        else{
            System.out.println(":(");
        } count == 0 count 0 {            
            System.out.println("Yay!");
        } System.out.println("Yay!") System.out.println System.out System System.out "Yay!" {
            System.out.println(":(");
        } System.out.println(":(") System.out.println System.out System System.out ":(" String[] args args public class Main{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int b[] = new int[6];
        int count = 0;

        for (int i = 0; i < 6; i++) {
            b[i] = scan.nextInt();
        }

        if( (b[1]-b[0]> b[5]) || (b[2]-b[0] > b[5]) || (b[3]-b[0] > b[5]) || (b[4]-b[0] > b[5]) ){
            count = 1;
        }

        if( (b[2]-b[1] > b[5]) || (b[3]-b[1] > b[5]) || (b[4]-b[1] > b[5]) ){
            count = 1;
        }

        if( (b[3]-b[2] > b[5]) || (b[4]-b[2] > b[5]) ){
            count = 1;
        }

        if( (b[4]-b[3] > b[5]) ){
            count = 1;
        }

        if(count == 0){            
            System.out.println("Yay!");
        }
        else{
            System.out.println(":(");
        }
    }
} public class Main{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int b[] = new int[6];
        int count = 0;

        for (int i = 0; i < 6; i++) {
            b[i] = scan.nextInt();
        }

        if( (b[1]-b[0]> b[5]) || (b[2]-b[0] > b[5]) || (b[3]-b[0] > b[5]) || (b[4]-b[0] > b[5]) ){
            count = 1;
        }

        if( (b[2]-b[1] > b[5]) || (b[3]-b[1] > b[5]) || (b[4]-b[1] > b[5]) ){
            count = 1;
        }

        if( (b[3]-b[2] > b[5]) || (b[4]-b[2] > b[5]) ){
            count = 1;
        }

        if( (b[4]-b[3] > b[5]) ){
            count = 1;
        }

        if(count == 0){            
            System.out.println("Yay!");
        }
        else{
            System.out.println(":(");
        }
    }
} Main
import java.util.Scanner;
public class Main{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int b[] = new int[6];
        int count = 0;

        for (int i = 0; i < 6; i++) {
            b[i] = scan.nextInt();
        }

        if( (b[1]-b[0]> b[5]) || (b[2]-b[0] > b[5]) || (b[3]-b[0] > b[5]) || (b[4]-b[0] > b[5]) ){
            count = 1;
        }

        if( (b[2]-b[1] > b[5]) || (b[3]-b[1] > b[5]) || (b[4]-b[1] > b[5]) ){
            count = 1;
        }

        if( (b[3]-b[2] > b[5]) || (b[4]-b[2] > b[5]) ){
            count = 1;
        }

        if( (b[4]-b[3] > b[5]) ){
            count = 1;
        }

        if(count == 0){            
            System.out.println("Yay!");
        }
        else{
            System.out.println(":(");
        }
    }
}