import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        List<Integer> list = new ArrayList<>();

        for (int i=0; i<5; i++) {
            int input = sc.nextInt();
            list.add(input);
        }

        Collections.sort(list);

        int diff = list.get(4) - list.get(0);
        int k = sc.nextInt();

        if (diff <= k) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    }
}

class Pair<T1,T2> {
    private T1 left;
    private T2 right;

    public Pair(T1 left, T2 right) {
        this.left = left;
        this.right = right;
    }

    public T1 getLeft() {
        return this.left;
    }

    public T2 getRight() {
        return this.right;
    }

    @Override
    public boolean equals(Object object) {
        Pair pair = (Pair)object;
        if (pair.getLeft().equals(this.getLeft())
                && pair.getRight().equals(this.getRight())) {
            return true;
        }
        return false;
    }
} import java.io.File; File java.io import java.io.FileInputStream; FileInputStream java.io import java.io.FileNotFoundException; FileNotFoundException java.io import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        List<Integer> list = new ArrayList<>();

        for (int i=0; i<5; i++) {
            int input = sc.nextInt();
            list.add(input);
        }

        Collections.sort(list);

        int diff = list.get(4) - list.get(0);
        int k = sc.nextInt();

        if (diff <= k) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    }
} Main public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        List<Integer> list = new ArrayList<>();

        for (int i=0; i<5; i++) {
            int input = sc.nextInt();
            list.add(input);
        }

        Collections.sort(list);

        int diff = list.get(4) - list.get(0);
        int k = sc.nextInt();

        if (diff <= k) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    } main {
        Scanner sc = new Scanner(System.in);
        List<Integer> list = new ArrayList<>();

        for (int i=0; i<5; i++) {
            int input = sc.nextInt();
            list.add(input);
        }

        Collections.sort(list);

        int diff = list.get(4) - list.get(0);
        int k = sc.nextInt();

        if (diff <= k) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) List<Integer> list = new ArrayList<>(); list new ArrayList<>() for (int i=0; i<5; i++) {
            int input = sc.nextInt();
            list.add(input);
        } int i=0; int i=0; i 0 i<5 i 5 i++ i++ i {
            int input = sc.nextInt();
            list.add(input);
        } {
            int input = sc.nextInt();
            list.add(input);
        } int input = sc.nextInt(); input sc.nextInt() sc.nextInt sc list.add(input) list.add list input Collections.sort(list) Collections.sort Collections list int diff = list.get(4) - list.get(0); diff list.get(4) - list.get(0) list.get(4) list.get list 4 list.get(0) list.get list 0 int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc if (diff <= k) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        } diff <= k diff k {
            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 class Pair<T1,T2> {
    private T1 left;
    private T2 right;

    public Pair(T1 left, T2 right) {
        this.left = left;
        this.right = right;
    }

    public T1 getLeft() {
        return this.left;
    }

    public T2 getRight() {
        return this.right;
    }

    @Override
    public boolean equals(Object object) {
        Pair pair = (Pair)object;
        if (pair.getLeft().equals(this.getLeft())
                && pair.getRight().equals(this.getRight())) {
            return true;
        }
        return false;
    }
} Pair private T1 left; left private T2 right; right public Pair(T1 left, T2 right) {
        this.left = left;
        this.right = right;
    } Pair {
        this.left = left;
        this.right = right;
    } this.left = left this.left this this.left left this.right = right this.right this this.right right T1 left left T2 right right public T1 getLeft() {
        return this.left;
    } getLeft {
        return this.left;
    } return this.left; this.left this this.left public T2 getRight() {
        return this.right;
    } getRight {
        return this.right;
    } return this.right; this.right this this.right @Override
    public boolean equals(Object object) {
        Pair pair = (Pair)object;
        if (pair.getLeft().equals(this.getLeft())
                && pair.getRight().equals(this.getRight())) {
            return true;
        }
        return false;
    } equals {
        Pair pair = (Pair)object;
        if (pair.getLeft().equals(this.getLeft())
                && pair.getRight().equals(this.getRight())) {
            return true;
        }
        return false;
    } Pair pair = (Pair)object; pair (Pair)object if (pair.getLeft().equals(this.getLeft())
                && pair.getRight().equals(this.getRight())) {
            return true;
        } pair.getLeft().equals(this.getLeft())
                && pair.getRight().equals(this.getRight()) pair.getLeft().equals(this.getLeft()) pair.getLeft().equals pair.getLeft() pair.getLeft pair this.getLeft() this.getLeft this pair.getRight().equals(this.getRight()) pair.getRight().equals pair.getRight() pair.getRight pair this.getRight() this.getRight this {
            return true;
        } return true; true return false; false Object object object public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        List<Integer> list = new ArrayList<>();

        for (int i=0; i<5; i++) {
            int input = sc.nextInt();
            list.add(input);
        }

        Collections.sort(list);

        int diff = list.get(4) - list.get(0);
        int k = sc.nextInt();

        if (diff <= k) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        List<Integer> list = new ArrayList<>();

        for (int i=0; i<5; i++) {
            int input = sc.nextInt();
            list.add(input);
        }

        Collections.sort(list);

        int diff = list.get(4) - list.get(0);
        int k = sc.nextInt();

        if (diff <= k) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    }
} Main
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        List<Integer> list = new ArrayList<>();

        for (int i=0; i<5; i++) {
            int input = sc.nextInt();
            list.add(input);
        }

        Collections.sort(list);

        int diff = list.get(4) - list.get(0);
        int k = sc.nextInt();

        if (diff <= k) {
            System.out.println("Yay!");
        } else {
            System.out.println(":(");
        }
    }
}

class Pair<T1,T2> {
    private T1 left;
    private T2 right;

    public Pair(T1 left, T2 right) {
        this.left = left;
        this.right = right;
    }

    public T1 getLeft() {
        return this.left;
    }

    public T2 getRight() {
        return this.right;
    }

    @Override
    public boolean equals(Object object) {
        Pair pair = (Pair)object;
        if (pair.getLeft().equals(this.getLeft())
                && pair.getRight().equals(this.getRight())) {
            return true;
        }
        return false;
    }
}
