Score: $100$ points
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna $A, B, C, D$ and $E$ from west to east, and their coordinates are $a, b, c, d$ and $e$, respectively.
Two antennas can communicate directly if the distance between them is $k$ or less, and they cannot if the distance is greater than $k$.
Determine if there exists a pair of antennas that cannot communicate directly.
Here, assume that the distance between two antennas at coordinates $p$ and $q$ ($p < q$) is $q - p$.
Input is given from Standard Input in the following format:
$a$ $b$ $c$ $d$ $e$ $k$
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:
and none of them is greater than $15$. Thus, the correct output is Yay!
.
15 18 26 35 36 18
:(
In this case, the distance between antennas $A$ and $D$ is $35 - 15$ = $20$ and exceeds $18$, so they cannot communicate directly.
Thus, the correct output is :(
.