100 #ABC123A. [ABC123A] Five Antennas

[ABC123A] Five Antennas

Score: 100100 points

Problem Statement

In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A,B,C,DA, B, C, D and EE from west to east, and their coordinates are a,b,c,da, b, c, d and ee, respectively. Two antennas can communicate directly if the distance between them is kk or less, and they cannot if the distance is greater than kk. Determine if there exists a pair of antennas that cannot communicate directly. Here, assume that the distance between two antennas at coordinates pp and qq (p<qp < q) is qpq - p.

Constraints

  • a,b,c,d,ea, b, c, d, e and kk are integers between 00 and 123123 (inclusive).
  • a<b<c<d<ea < b < c < d < e

Input

Input is given from Standard Input in the following format:

aa

bb

cc

dd

ee

kk

Output

Print :( if there exists a pair of antennas that cannot communicate directly, and print Yay! if there is no such pair.

1
2
4
8
9
15
Yay!

In this case, there is no pair of antennas that cannot communicate directly, because:

  • the distance between AA and BB is 212 - 1 = 11
  • the distance between AA and CC is 414 - 1 = 33
  • the distance between AA and DD is 818 - 1 = 77
  • the distance between AA and EE is 919 - 1 = 88
  • the distance between BB and CC is 424 - 2 = 22
  • the distance between BB and DD is 828 - 2 = 66
  • the distance between BB and EE is 929 - 2 = 77
  • the distance between CC and DD is 848 - 4 = 44
  • the distance between CC and EE is 949 - 4 = 55
  • the distance between DD and EE is 989 - 8 = 11

and none of them is greater than 1515. Thus, the correct output is Yay!.

15
18
26
35
36
18
:(

In this case, the distance between antennas AA and DD is 351535 - 15 = 2020 and exceeds 1818, so they cannot communicate directly. Thus, the correct output is :(.