import itertools

import math

import fractions

import functools

import copy



a = int(eval(input()))

b = int(eval(input()))

c = int(eval(input()))

d = int(eval(input()))

e = int(eval(input()))

k = int(eval(input()))



if b-a > k or c-a > k or d-a > k or e-a > k or c-b > k or d-b > k or e-b > k or d-c > k or e-c > k or e-d > k:

    print(":(")

else:

    print("Yay!")

def main():

    # n = int(input())

    # n, m = map(int, input().split())

    # a = list(map(int, input().split()))

    # s = input()

    # h = [int(input()) for _ in rane(n)]

    a = int(eval(input()))

    b = int(eval(input()))

    c = int(eval(input()))

    d = int(eval(input()))

    e = int(eval(input()))

    k = int(eval(input()))

    if abs(a-b)>k or abs(a-c)>k or abs(a-d)>k or abs(a-e)>k or abs(b-c)>k or abs(b-d)>k or abs(b-e)>k or abs(c-d)>k or abs(c-e)>k or abs(d-e)>k:

        print(":(")

    else:

        print("Yay!")





if __name__ == '__main__':

    main()

import itertools
import math
import fractions
import functools
import copy

a = int(eval(input()))
b = int(eval(input()))
c = int(eval(input()))
d = int(eval(input()))
e = int(eval(input()))
k = int(eval(input()))
if (
    b - a > k
    or c - a > k
    or d - a > k
    or e - a > k
    or c - b > k
    or d - b > k
    or e - b > k
    or d - c > k
    or e - c > k
    or e - d > k
):
    print(":(")
else:
    print("Yay!")

def main():
    # n = int(input())
    # n, m = map(int, input().split())
    # a = list(map(int, input().split()))
    # s = input()
    # h = [int(input()) for _ in rane(n)]
    a = int(eval(input()))
    b = int(eval(input()))
    c = int(eval(input()))
    d = int(eval(input()))
    e = int(eval(input()))
    k = int(eval(input()))
    if (
        abs(a - b) > k
        or abs(a - c) > k
        or abs(a - d) > k
        or abs(a - e) > k
        or abs(b - c) > k
        or abs(b - d) > k
        or abs(b - e) > k
        or abs(c - d) > k
        or abs(c - e) > k
        or abs(d - e) > k
    ):
        print(":(")
    else:
        print("Yay!")


if __name__ == "__main__":
    main()

-import itertools -import math -import fractions -import functools -import copy +def main(): +    # n = int(input()) +    # n, m = map(int, input().split()) +    # a = list(map(int, input().split())) +    # s = input() +    # h = [int(input()) for _ in rane(n)] +    a = int(eval(input())) +    b = int(eval(input())) +    c = int(eval(input())) +    d = int(eval(input())) +    e = int(eval(input())) +    k = int(eval(input())) +    if ( +        abs(a - b) > k +        or abs(a - c) > k +        or abs(a - d) > k +        or abs(a - e) > k +        or abs(b - c) > k +        or abs(b - d) > k +        or abs(b - e) > k +        or abs(c - d) > k +        or abs(c - e) > k +        or abs(d - e) > k +    ): +        print(":(") +    else: +        print("Yay!") -a = int(eval(input())) -b = int(eval(input())) -c = int(eval(input())) -d = int(eval(input())) -e = int(eval(input())) -k = int(eval(input())) -if ( -    b - a > k -    or c - a > k -    or d - a > k -    or e - a > k -    or c - b > k -    or d - b > k -    or e - b > k -    or d - c > k -    or e - c > k -    or e - d > k -): -    print(":(") -else: -    print("Yay!") + +if __name__ == "__main__": +    main()